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:
Walter Korman
2002-04-18 16:57:29 +00:00
parent c47ba0dc66
commit 988223cc3e
@@ -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);
}
/**