v0.3.1: fixed a bug where pitfall traps wouldn't disappear when turning into a pit tile.

This commit is contained in:
Evan Debenham 2015-08-16 21:35:15 -04:00 committed by Evan Debenham
parent 3cd4f2551a
commit f4c93c369c

View File

@ -81,6 +81,7 @@ public class PitfallTrap extends Trap {
} }
sprite.parent.add(new WindParticle.Wind(pos)); sprite.parent.add(new WindParticle.Wind(pos));
sprite.killAndErase();
GameScene.updateMap( pos ); GameScene.updateMap( pos );
} }
} }