Alas this hack will be needed for all time it seems.

git-svn-id: svn+ssh://src.earth.threerings.net/vilya/trunk@253 c613c5cb-e716-0410-b11b-feb51c14d237
This commit is contained in:
Michael Bayne
2007-03-20 23:24:41 +00:00
parent ee0bea04e1
commit add74fd863
@@ -53,7 +53,11 @@ public class MaxIntStat extends IntStat
throws IOException, ClassNotFoundException
{
super.unpersistFrom(in, aux);
_maxValue = in.readInt();
try {
_maxValue = in.readInt();
} catch (EOFException eofe) {
// hack to deal with old style IntStat converted to MaxIntStat
}
}
/** The largest value ever accumulated to this stat. */