Fix "Simulating game between" line to only have one "and"

This commit is contained in:
dpen2000 2014-03-23 13:34:11 +00:00
parent fd2d9b6833
commit 970552a6d6

View file

@ -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}"