v0.8.2c: fixed bombs not always updating their heaps properly
This commit is contained in:
parent
367bc67524
commit
113b29f791
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user