Remove time portion from scoreboard when ending is reached
This commit is contained in:
parent
aa3a8104d2
commit
1ab800afb8
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user