v0.3.1: fixed a bug where pitfall traps wouldn't disappear when turning into a pit tile.
This commit is contained in:
parent
3cd4f2551a
commit
f4c93c369c
|
@ -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 );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user