Fixed Sharkoon AI remaining inactive after re-entering water
This commit is contained in:
1 parent
0bf9d13567
commit
e7175e98b1
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user