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:
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user