v0.3.1: fixed a bug where polymorphing an enemy wouldn't totally remove them.
This commit is contained in:
committed by
Evan Debenham
parent
83dcbb19ec
commit
737563f256
@@ -289,8 +289,8 @@ public class CursedWand {
|
||||
Sheep sheep = new Sheep();
|
||||
sheep.lifespan = 10;
|
||||
sheep.pos = ch.pos;
|
||||
ch.destroy();
|
||||
ch.sprite.killAndErase();
|
||||
Actor.remove(ch);
|
||||
Dungeon.level.mobs.remove(ch);
|
||||
HealthIndicator.instance.target(null);
|
||||
GameScene.add(sheep);
|
||||
|
||||
Reference in New Issue
Block a user