Un-negate the round id if a game does decide to endRound() first and then endGame().
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@446 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -605,6 +605,11 @@ public class EZGameManager extends GameManager
|
|||||||
// EZ games immediately resest to PRE_GAME after they end so that they can be restarted if
|
// EZ games immediately resest to PRE_GAME after they end so that they can be restarted if
|
||||||
// desired by having all players call playerReady() again
|
// desired by having all players call playerReady() again
|
||||||
_ezObj.setState(EZGameObject.PRE_GAME);
|
_ezObj.setState(EZGameObject.PRE_GAME);
|
||||||
|
|
||||||
|
// untwiddle the round id if we ended the game in between rounds
|
||||||
|
if (_ezObj.roundId < 0) {
|
||||||
|
_ezObj.setRoundId(-_ezObj.roundId);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user