1 - DoG despawn fix.

This commit is contained in:
mountaindrew10 committed 2022-04-01 17:49:02 -05:00
1 parent 97d751546e
commit 6e7b53ddc8
1 file changed
+2 -1
+2 -1
View File
@@ -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)