Sneaky scoreboard order

This commit is contained in:
Chiss 2014-08-06 12:37:41 +10:00
parent a0010668c6
commit 4108a02f50

View File

@ -185,11 +185,11 @@ public class SneakyAssassins extends SoloGame
{ {
if (team.IsAlive(player)) if (team.IsAlive(player))
{ {
Scoreboard.Write(C.cGreen + player.getName()); Scoreboard.WriteOrdered("Powerups", C.cGreen + player.getName(), 0, true);
} }
else else
{ {
Scoreboard.Write(C.cGray + player.getName()); Scoreboard.WriteOrdered("Powerups", C.cGray + player.getName(), 0, true);
} }
} }
} }
@ -197,7 +197,7 @@ public class SneakyAssassins extends SoloGame
{ {
for (Player player : team.GetPlayers(true)) for (Player player : team.GetPlayers(true))
{ {
Scoreboard.Write(C.cGreen + player.getName()); Scoreboard.WriteOrdered("Powerups", C.cGreen + player.getName(), 0, true);
} }
} }
else else