v0.9.2: fixed save/load messing with the pacifist badge
This commit is contained in:
@@ -86,6 +86,8 @@ public class Statistics {
|
|||||||
private static final String SPAWNERS = "spawnersAlive";
|
private static final String SPAWNERS = "spawnersAlive";
|
||||||
|
|
||||||
private static final String DURATION = "duration";
|
private static final String DURATION = "duration";
|
||||||
|
|
||||||
|
private static final String NO_KILLING_QUALIFIED = "qualifiedForNoKilling";
|
||||||
|
|
||||||
private static final String AMULET = "amuletObtained";
|
private static final String AMULET = "amuletObtained";
|
||||||
|
|
||||||
@@ -105,6 +107,8 @@ public class Statistics {
|
|||||||
bundle.put( SPAWNERS, spawnersAlive );
|
bundle.put( SPAWNERS, spawnersAlive );
|
||||||
|
|
||||||
bundle.put( DURATION, duration );
|
bundle.put( DURATION, duration );
|
||||||
|
|
||||||
|
bundle.put(NO_KILLING_QUALIFIED, qualifiedForNoKilling);
|
||||||
|
|
||||||
bundle.put( AMULET, amuletObtained );
|
bundle.put( AMULET, amuletObtained );
|
||||||
}
|
}
|
||||||
@@ -125,6 +129,8 @@ public class Statistics {
|
|||||||
spawnersAlive = bundle.getInt( SPAWNERS );
|
spawnersAlive = bundle.getInt( SPAWNERS );
|
||||||
|
|
||||||
duration = bundle.getFloat( DURATION );
|
duration = bundle.getFloat( DURATION );
|
||||||
|
|
||||||
|
qualifiedForNoKilling = bundle.getBoolean( NO_KILLING_QUALIFIED );
|
||||||
|
|
||||||
amuletObtained = bundle.getBoolean( AMULET );
|
amuletObtained = bundle.getBoolean( AMULET );
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user