We need to send the tick out with a different message identifier
because otherwise the EZGameController will try to unmarshall the value. The marshalling/unmarshalling is purely clientside, the server doesn't understand how to do it, so it must dispatch a different event that just contains a nice normal integer. git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@85 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -394,7 +394,7 @@ public class EZGameManager extends GameManager
|
||||
public void expired ()
|
||||
{
|
||||
_omgr.postEvent(
|
||||
new MessageEvent(_oid, EZGameObject.USER_MESSAGE,
|
||||
new MessageEvent(_oid, EZGameObject.TICKER,
|
||||
new Object[] { _name, _value++ }));
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user