mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-13 22:49:51 -04:00
Merge pull request #660 from dpen2000/SimulatorTextFix
Fix "Simulating game between" line to only have one "and"
This commit is contained in:
commit
f8f5f718bb
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…
Reference in a new issue