Consider the game to be over when its state isn't IN_PLAY, so that
AWAITING_PLAYERS, CANCELLED, etc. are properly addressed by those that check in on these sorts of things. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1276 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: GameController.java,v 1.11 2002/04/14 02:33:16 mdb Exp $
|
||||
// $Id: GameController.java,v 1.12 2002/04/18 16:57:29 shaper Exp $
|
||||
|
||||
package com.threerings.parlor.game;
|
||||
|
||||
@@ -92,7 +92,7 @@ public abstract class GameController extends PlaceController
|
||||
*/
|
||||
public boolean isGameOver ()
|
||||
{
|
||||
return (_gameOver || _gobj.state == GameObject.GAME_OVER);
|
||||
return (_gameOver || _gobj.state != GameObject.IN_PLAY);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user