reset the judge index when the game resets

This commit is contained in:
Andy Janata 2012-01-29 17:14:28 -08:00
parent e3ac81705e
commit bc2e7501cc
1 changed files with 1 additions and 1 deletions

View File

@ -380,8 +380,8 @@ public class Game {
blackCard = null;
}
state = GameState.LOBBY;
judgeIndex = 0;
// TODO announce the reset
final HashMap<ReturnableData, Object> data = getEventMap();
data.put(LongPollResponse.EVENT, LongPollEvent.GAME_STATE_CHANGE.toString());
data.put(LongPollResponse.GAME_STATE, GameState.LOBBY.toString());