Temporarily turn Integer keys into just ints.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@4174 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -3,6 +3,7 @@ package com.threerings.presents.dobj {
|
||||
import com.threerings.io.ObjectInputStream;
|
||||
import com.threerings.io.ObjectOutputStream;
|
||||
|
||||
import com.threerings.util.Integer;
|
||||
import com.threerings.util.StringBuilder;
|
||||
|
||||
/**
|
||||
@@ -99,6 +100,11 @@ public class EntryRemovedEvent extends NamedEvent
|
||||
{
|
||||
super.readObject(ins);
|
||||
_key = ins.readObject();
|
||||
|
||||
// TODO: for now...
|
||||
if (_key is Integer) {
|
||||
_key = (_key as Integer).value;
|
||||
}
|
||||
}
|
||||
|
||||
protected var _key :Object;
|
||||
|
||||
Reference in New Issue
Block a user