v0.8.2c: fixed bombs not always updating their heaps properly

This commit is contained in:
Evan Debenham 2020-08-21 19:44:30 -04:00
parent 367bc67524
commit 113b29f791

View File

@ -290,10 +290,7 @@ public class Bomb extends Item {
} else { } else {
heap.items.remove(bomb); heap.remove(bomb);
if (heap.items.isEmpty()) {
heap.destroy();
}
bomb.explode(heap.pos); bomb.explode(heap.pos);
} }