Cookie fixes.
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@124 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user