Cookie fixes.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@124 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Ray Greenwell
2006-11-15 20:47:57 +00:00
parent cff4238b3e
commit ccb530d8c7
2 changed files with 2 additions and 5 deletions
@@ -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);
}