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:
Mike Thomas
2007-07-25 16:33:11 +00:00
parent 8ad7f5eaef
commit e6b104f688
@@ -860,7 +860,7 @@ public class GameManager extends PlaceManager
protected void playersAllHere ()
{
// 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();
}
}