Don't trigger that the players have all arrived if it happens after the game has already started. This could previously occur if all the participants of the game leave and come back (without the game shutting down, possibly due to watchers).
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@376 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -860,7 +860,7 @@ public class GameManager extends PlaceManager
|
|||||||
protected void playersAllHere ()
|
protected void playersAllHere ()
|
||||||
{
|
{
|
||||||
// if we're a seated game and we haven't already started, start.
|
// if we're a seated game and we haven't already started, start.
|
||||||
if ((getMatchType() == GameConfig.SEATED_GAME) && !_gameobj.isInPlay()) {
|
if ((getMatchType() == GameConfig.SEATED_GAME) && _gameobj.state == GameObject.PRE_GAME) {
|
||||||
startGame();
|
startGame();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user