Thought I'd committed this ages ago when I was poking around at this stuff,
but apparently not. Use the helper method to see if the game's in play since it's there for just that reason. git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@566 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -421,7 +421,7 @@ public class GameManager extends PlaceManager
|
||||
public boolean startGame ()
|
||||
{
|
||||
// complain if we're already started
|
||||
if (_gameobj.state == GameObject.IN_PLAY) {
|
||||
if (_gameobj.isInPlay()) {
|
||||
log.warning("Requested to start an already in-play game [game=" + where() + "].");
|
||||
Thread.dumpStack();
|
||||
return false;
|
||||
|
||||
Reference in New Issue
Block a user