v0.8.2c: fixed bombs not always updating their heaps properly
This commit is contained in:
@@ -290,10 +290,7 @@ public class Bomb extends Item {
|
||||
|
||||
} else {
|
||||
|
||||
heap.items.remove(bomb);
|
||||
if (heap.items.isEmpty()) {
|
||||
heap.destroy();
|
||||
}
|
||||
heap.remove(bomb);
|
||||
|
||||
bomb.explode(heap.pos);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user