v0.2.3d: corrected bug where updated rankings from old saves would sometimes record depth as '30015'
This commit is contained in:
parent
2889c1fc24
commit
15802423a8
|
@ -207,6 +207,9 @@ public enum Rankings {
|
|||
depth = bundle.getInt( DEPTH );
|
||||
herolevel = bundle.getInt( LEVEL );
|
||||
}
|
||||
|
||||
//to handle cases with pre-0.2.3d saves, where an updated ranking where the player died to dm-300 would cause a recorded depth of 30015.
|
||||
if (depth == 30015) depth = 15;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue
Block a user