v3.2.1: fixed noisemakers not preserving triggered state on save/load

This commit is contained in:
Evan Debenham
2025-08-13 14:17:04 -04:00
parent c1f699ab32
commit b8ea04a327
@@ -139,17 +139,20 @@ public class Noisemaker extends Bomb {
} }
private static final String LEFT = "left"; private static final String LEFT = "left";
private static final String TRIGGERED = "triggered";
@Override @Override
public void storeInBundle(Bundle bundle) { public void storeInBundle(Bundle bundle) {
super.storeInBundle(bundle); super.storeInBundle(bundle);
bundle.put(LEFT, left); bundle.put(LEFT, left);
bundle.put(TRIGGERED, triggered);
} }
@Override @Override
public void restoreFromBundle(Bundle bundle) { public void restoreFromBundle(Bundle bundle) {
super.restoreFromBundle(bundle); super.restoreFromBundle(bundle);
left = bundle.getInt(LEFT); left = bundle.getInt(LEFT);
triggered = bundle.getBoolean(TRIGGERED);
} }
} }