reset the judge index when the game resets
This commit is contained in:
parent
e3ac81705e
commit
bc2e7501cc
|
@ -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());
|
||||
|
|
Loading…
Reference in New Issue