Remove time portion from scoreboard when ending is reached

This commit is contained in:
Alexander Meech 2016-12-04 01:59:28 -05:00 committed by GitHub
parent aa3a8104d2
commit 1ab800afb8

View File

@ -651,9 +651,12 @@ public class Christmas extends SoloGame
Scoreboard.write(C.cWhite + GetPlayers(true).size());
//Time
Scoreboard.writeNewLine();
Scoreboard.write(C.cYellowB + "Time Left");
Scoreboard.write(C.cWhite + UtilTime.MakeStr(_gameTime - (System.currentTimeMillis() - GetStateTime())));
if (!ReachedEnding)
{
Scoreboard.writeNewLine();
Scoreboard.write(C.cYellowB + "Time Left");
Scoreboard.write(C.cWhite + UtilTime.MakeStr(_gameTime - (System.currentTimeMillis() - GetStateTime())));
}
Scoreboard.draw();
}