From 6e7b53ddc81bfd7bc7c265beabe7a2f8fabf8463 Mon Sep 17 00:00:00 2001 From: mountaindrew10 Date: Fri, 1 Apr 2022 17:49:02 -0500 Subject: [PATCH] 1 - DoG despawn fix. --- NPCs/DevourerofGods/DevourerofGodsHead.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/NPCs/DevourerofGods/DevourerofGodsHead.cs b/NPCs/DevourerofGods/DevourerofGodsHead.cs index 8a8996d9bb..234ee6076c 100644 --- a/NPCs/DevourerofGods/DevourerofGodsHead.cs +++ b/NPCs/DevourerofGods/DevourerofGodsHead.cs @@ -362,7 +362,8 @@ namespace CalamityMod.NPCs.DevourerofGods // Despawn if (player.dead) { - flies = true; + npc.ai[3] = 0f; + calamityGlobalNPC.newAI[2] = 0f; npc.velocity.Y -= 3f; if ((double)npc.position.Y < Main.topWorld + 16f)