diff --git a/src/as/com/threerings/parlor/game/client/GameController.as b/src/as/com/threerings/parlor/game/client/GameController.as index c89d3f42..f09141aa 100644 --- a/src/as/com/threerings/parlor/game/client/GameController.as +++ b/src/as/com/threerings/parlor/game/client/GameController.as @@ -198,13 +198,15 @@ public /*abstract*/ class GameController extends PlaceController } /** - * Derived classes can override this method if they add additional game - * states and should handle transitions to those states, returning true to - * indicate they were handled and calling super for the normal game states. + * Derived classes can override this method if they add additional game states and should + * handle transitions to those states, returning true to indicate they were handled and calling + * super for the normal game states. */ protected function stateDidChange (state :int) :Boolean { switch (state) { + case GameObject.PRE_GAME: + return true; case GameObject.IN_PLAY: gameDidStart(); return true; diff --git a/src/java/com/threerings/parlor/game/client/GameController.java b/src/java/com/threerings/parlor/game/client/GameController.java index a89239d2..603d1791 100644 --- a/src/java/com/threerings/parlor/game/client/GameController.java +++ b/src/java/com/threerings/parlor/game/client/GameController.java @@ -207,6 +207,8 @@ public abstract class GameController extends PlaceController protected boolean stateDidChange (int state) { switch (state) { + case GameObject.PRE_GAME: + return true; case GameObject.IN_PLAY: gameDidStart(); return true;