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 {
|
} else {
|
||||||
|
|
||||||
heap.items.remove(bomb);
|
heap.remove(bomb);
|
||||||
if (heap.items.isEmpty()) {
|
|
||||||
heap.destroy();
|
|
||||||
}
|
|
||||||
|
|
||||||
bomb.explode(heap.pos);
|
bomb.explode(heap.pos);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user