diff --git a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/traps/PitfallTrap.java b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/traps/PitfallTrap.java index b4a83c495..f7fa03f16 100644 --- a/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/traps/PitfallTrap.java +++ b/core/src/main/java/com/shatteredpixel/shatteredpixeldungeon/levels/traps/PitfallTrap.java @@ -53,7 +53,7 @@ public class PitfallTrap extends Trap { return; } - DelayedPit p = Buff.affect(Dungeon.hero, DelayedPit.class, 1); + DelayedPit p = Buff.append(Dungeon.hero, DelayedPit.class, 1); p.depth = Dungeon.depth; p.pos = pos; @@ -105,6 +105,7 @@ public class PitfallTrap extends Trap { } heap.sprite.kill(); GameScene.discard(heap); + heap.sprite.drop(); Dungeon.level.heaps.remove(cell); }