Modified distributed object attribute setting such that attributes are
*always* set immediately because after some deliberation, we decided that doing that led to less unexpectedly annoying behavior than having to wait for the event to propagate to see the new value. git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@1062 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
//
|
||||
// $Id: GameManager.java,v 1.22 2002/02/15 03:42:32 mdb Exp $
|
||||
// $Id: GameManager.java,v 1.23 2002/02/20 23:35:42 mdb Exp $
|
||||
|
||||
package com.threerings.parlor.game;
|
||||
|
||||
@@ -220,11 +220,8 @@ public class GameManager extends PlaceManager
|
||||
{
|
||||
// figure out who won...
|
||||
|
||||
// transition to the game over state (do so using setImmediate so
|
||||
// that game manager code doesn't have to keep its own "immediate"
|
||||
// game over indicator in order to prevent stray, post-end-game
|
||||
// events from messing things up)
|
||||
_gameobj.setStateImmediate(GameObject.GAME_OVER);
|
||||
// transition to the game over state
|
||||
_gameobj.setState(GameObject.GAME_OVER);
|
||||
|
||||
// wait until we hear the game state transition on the game object
|
||||
// to invoke our game over code so that we can be sure that any
|
||||
|
||||
Reference in New Issue
Block a user