v0.9.2: fixed save/load messing with the pacifist badge

This commit is contained in:
Evan Debenham 2021-02-21 16:56:26 -05:00
parent 94de68caad
commit 868b6d6995

View File

@ -86,6 +86,8 @@ public class Statistics {
private static final String SPAWNERS = "spawnersAlive";
private static final String DURATION = "duration";
private static final String NO_KILLING_QUALIFIED = "qualifiedForNoKilling";
private static final String AMULET = "amuletObtained";
@ -105,6 +107,8 @@ public class Statistics {
bundle.put( SPAWNERS, spawnersAlive );
bundle.put( DURATION, duration );
bundle.put(NO_KILLING_QUALIFIED, qualifiedForNoKilling);
bundle.put( AMULET, amuletObtained );
}
@ -125,6 +129,8 @@ public class Statistics {
spawnersAlive = bundle.getInt( SPAWNERS );
duration = bundle.getFloat( DURATION );
qualifiedForNoKilling = bundle.getBoolean( NO_KILLING_QUALIFIED );
amuletObtained = bundle.getBoolean( AMULET );
}