Fixed some logic I broke a few weeks back.

There's no more isPartyGame(), and needsNoShowTimer() simply checks to see
if the game is seated, but needsNoShowTimer() can be overridden and so
I shouldn't have treated it as equivalent to !isPartyGame().


git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@248 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Ray Greenwell
2007-03-15 21:22:46 +00:00
parent 5ee8e02727
commit 59c6bf814b
@@ -876,9 +876,8 @@ public class GameManager extends PlaceManager
*/
protected void playersAllHere ()
{
// start up the game if we're not a party game and if we haven't
// already done so
if (needsNoShowTimer() && _gameobj.state == GameObject.PRE_GAME) {
// if we're a seated game and we haven't already started, start.
if ((getGameType() == GameConfig.SEATED_GAME) && (_gameobj.state == GameObject.PRE_GAME)) {
startGame();
}
}