Change "readObject() as Type" to "Type(readObject())" for vilya for better error checking and faster failure
git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@758 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
@@ -58,7 +58,7 @@ public class TableConfig extends SimpleStreamableObject
|
||||
super.readObject(ins);
|
||||
desiredPlayerCount = ins.readInt();
|
||||
minimumPlayerCount = ins.readInt();
|
||||
teamMemberIndices = (ins.readObject() as TypedArray);
|
||||
teamMemberIndices = TypedArray(ins.readObject());
|
||||
privateTable = ins.readBoolean();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user