diff --git a/Items/SuperDummy.cs b/Items/SuperDummy.cs index bbb6e4b678..2003dc491d 100644 --- a/Items/SuperDummy.cs +++ b/Items/SuperDummy.cs @@ -41,12 +41,12 @@ namespace CalamityMod.Items { for (int i = 0; i < Main.maxNPCs; i++) { - if (Main.npc[i].type == ModContent.NPCType()) + NPC npc = Main.npc[i]; + if (npc.type == ModContent.NPCType()) { - Main.npc[i].life = 0; - Main.npc[i].lifeRegen = 0; - Main.npc[i].checkDead(); - Main.npc[i].netUpdate = true; + npc.active = false; + npc.netUpdate = true; + Main.PlaySound(SoundID.NPCDeath2, npc.position); } } }