mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-04-27 06:23:41 -04:00
Fix "Simulating game between" line to only have one "and"
This commit is contained in:
parent
fd2d9b6833
commit
970552a6d6
1 changed files with 1 additions and 1 deletions
|
@ -114,7 +114,7 @@ module.exports = class LadderView extends RootView
|
|||
for index in [0...creatorNames.length]
|
||||
unless creatorNames[index]
|
||||
creatorNames[index] = "Anonymous"
|
||||
@simulationStatus += " and " + creatorNames[index]
|
||||
@simulationStatus += (if index != 0 then " and " else "") + creatorNames[index]
|
||||
@simulationStatus += "..."
|
||||
catch e
|
||||
console.log "There was a problem with the named simulation status: #{e}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue