diff --git a/src/as/com/threerings/ezgame/client/GameObjectImpl.as b/src/as/com/threerings/ezgame/client/GameObjectImpl.as index f9707edd..b00651bf 100644 --- a/src/as/com/threerings/ezgame/client/GameObjectImpl.as +++ b/src/as/com/threerings/ezgame/client/GameObjectImpl.as @@ -305,10 +305,7 @@ public class GameObjectImpl extends EventDispatcher return false; } - _ezObj.ezGameService.setCookie(_ctx.getClient(), null, // ba, - // TODO - /// - /// TODO + _ezObj.ezGameService.setCookie(_ctx.getClient(), ba, createLoggingListener("setUserCookie")); return true; } diff --git a/src/as/com/threerings/ezgame/data/UserCookie.as b/src/as/com/threerings/ezgame/data/UserCookie.as index a7a7a574..cff8755b 100644 --- a/src/as/com/threerings/ezgame/data/UserCookie.as +++ b/src/as/com/threerings/ezgame/data/UserCookie.as @@ -31,7 +31,7 @@ public class UserCookie public function readObject (ins :ObjectInputStream) :void { playerIndex = ins.readInt(); - var ba :ByteArray = (ins.readObject() as ByteArray); + var ba :ByteArray = (ins.readField(ByteArray) as ByteArray); cookie = EZObjectMarshaller.decode(ba); }