mouth close when retreating

This commit is contained in:
GinYuH authored and Cameron Ewell committed 2024-07-30 18:27:16 -04:00
1 parent f3a77cff36
commit b7d9ff97da
1 file changed
+1 -1
+1 -1
View File
@@ -215,7 +215,7 @@ namespace CalamityMod.NPCs.SunkenSea
}
// Open mouth when near target
if (target != null && NPC.Distance(target.Center) < 64)
if (target != null && NPC.Distance(target.Center) < 64 && !RetreatingToHidingSpot)
{
NPC.Calamity().newAI[1] = 1;
}