Fixed Sharkoon AI remaining inactive after re-entering water

This commit is contained in:
CongratsIsTrash authored and GitHub committed 2025-05-11 15:39:28 -04:00
1 parent 0bf9d13567
commit e7175e98b1
1 file changed
+1 -1
+1 -1
View File
@@ -249,7 +249,7 @@ namespace CalamityMod.NPCs.SunkenSea
}
// When it gets outside of water, it'll try to gravitate downards towards the water.
if (!NPC.wet && !IsExploding)
if (!NPC.wet && !IsExploding && CurrentBehavior != OutsideWaterBehavior)
CurrentBehavior = OutsideWaterBehavior;