v0.7.5: fixed necromancer summoning vfx persisting if they die
This commit is contained in:
parent
36f32cfeb8
commit
80728074b5
|
@ -114,6 +114,11 @@ public class Necromancer extends Mob {
|
||||||
mySkeleton.die(null);
|
mySkeleton.die(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (summoningEmitter != null){
|
||||||
|
summoningEmitter.killAndErase();
|
||||||
|
summoningEmitter = null;
|
||||||
|
}
|
||||||
|
|
||||||
super.die(cause);
|
super.die(cause);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user