From 04ff848f0037e8cd9860acf4cf8b05fa12b80b50 Mon Sep 17 00:00:00 2001 From: Dave Hoover Date: Fri, 29 Feb 2008 19:06:07 +0000 Subject: [PATCH] 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 --- src/java/com/threerings/parlor/game/server/GameManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/java/com/threerings/parlor/game/server/GameManager.java b/src/java/com/threerings/parlor/game/server/GameManager.java index f56a05ee..be82fa34 100644 --- a/src/java/com/threerings/parlor/game/server/GameManager.java +++ b/src/java/com/threerings/parlor/game/server/GameManager.java @@ -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;