v2.3.0: fixed incorrect emitter use in gnoll guards & geomancer

This commit is contained in:
Evan Debenham
2023-12-20 13:28:41 -05:00
parent 5cf4ad950b
commit 777eb1b437
2 changed files with 6 additions and 2 deletions

View File

@@ -108,6 +108,7 @@ public class GnollGeomancerSprite extends MobSprite {
super.die();
if (earthArmor != null){
earthArmor.on = false;
earthArmor = null;
}
}
@@ -115,7 +116,8 @@ public class GnollGeomancerSprite extends MobSprite {
public void kill() {
super.kill();
if (earthArmor != null){
earthArmor.killAndErase();
earthArmor.on = false;
earthArmor = null;
}
}

View File

@@ -96,6 +96,7 @@ public class GnollGuardSprite extends MobSprite {
super.die();
if (earthArmor != null){
earthArmor.on = false;
earthArmor = null;
}
}
@@ -103,7 +104,8 @@ public class GnollGuardSprite extends MobSprite {
public void kill() {
super.kill();
if (earthArmor != null){
earthArmor.killAndErase();
earthArmor.on = false;
earthArmor = null;
}
}