This commit is contained in:
TimWolla 2011-05-22 22:45:14 +02:00
parent 9e7ec98789
commit 338e8eb338
2 changed files with 12 additions and 3 deletions

View File

@ -276,9 +276,14 @@ public class Team {
String[] lines = new String[4];
lines[0] = "Team " + name;
lines[1] = remainingLives + "/" + warzone.getLifePool() + " lives left";
lines[1] = players.size() + "/" + warzone.getTeamCap() + " players";
lines[2] = points + "/" + warzone.getScoreCap() + " pts";
lines[3] = players.size() + "/" + warzone.getTeamCap() + " players";
if(warzone.getLifePool() == -1) {
lines[3] = "unlimited lives";
} else {
lines[3] = remainingLives + "/" + warzone.getLifePool() + " lives left";
}
SignHelper.setToSign(war, signBlock, (byte)signData, lines);
}
}

View File

@ -660,7 +660,11 @@ public class ZoneLobby {
lines[0] = "Team " + team.getName();
lines[1] = team.getPlayers().size() + "/" + warzone.getTeamCap() + " players";
lines[2] = team.getPoints() + "/" + warzone.getScoreCap() + " pts";
lines[3] = team.getRemainingLifes() + "/" + warzone.getLifePool() + " lives left";
if(warzone.getLifePool() == -1) {
lines[3] = "unlimited lives";
} else {
lines[3] = team.getRemainingLifes() + "/" + warzone.getLifePool() + " lives left";
}
resetGateSign(gate, lines, true);
}
}