v0.6.1b: fixed crashes involving missing ranking IDs
This commit is contained in:
parent
786e9cf0ea
commit
0b417a09b9
|
@ -294,6 +294,8 @@ public enum Rankings {
|
||||||
if (bundle.contains(DATA)) gameData = bundle.getBundle(DATA);
|
if (bundle.contains(DATA)) gameData = bundle.getBundle(DATA);
|
||||||
if (bundle.contains(ID)) gameID = bundle.getString(ID);
|
if (bundle.contains(ID)) gameID = bundle.getString(ID);
|
||||||
|
|
||||||
|
if (gameID == null) gameID = UUID.randomUUID().toString();
|
||||||
|
|
||||||
depth = bundle.getInt( DEPTH );
|
depth = bundle.getInt( DEPTH );
|
||||||
herolevel = bundle.getInt( LEVEL );
|
herolevel = bundle.getInt( LEVEL );
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user