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]
|
for index in [0...creatorNames.length]
|
||||||
unless creatorNames[index]
|
unless creatorNames[index]
|
||||||
creatorNames[index] = "Anonymous"
|
creatorNames[index] = "Anonymous"
|
||||||
@simulationStatus += " and " + creatorNames[index]
|
@simulationStatus += (if index != 0 then " and " else "") + creatorNames[index]
|
||||||
@simulationStatus += "..."
|
@simulationStatus += "..."
|
||||||
catch e
|
catch e
|
||||||
console.log "There was a problem with the named simulation status: #{e}"
|
console.log "There was a problem with the named simulation status: #{e}"
|
||||||
|
|
Reference in a new issue