Fixed p2 DoG's tail icon not rotating

This commit is contained in:
GinYuH committed 2024-03-06 23:41:19 -08:00
1 parent e233239b42
commit f52faec732
1 file changed
+1 -1
+1 -1
View File
@@ -102,7 +102,7 @@ namespace CalamityMod.NPCs.DevourerofGods
{
NPC head = CalamityGlobalNPC.DoGHead >= 0 ? Main.npc[CalamityGlobalNPC.DoGHead] : null;
DevourerofGodsHead modNPC = head?.ModNPC<DevourerofGodsHead>() ?? null;
if (head != null || modNPC.AwaitingPhase2Teleport || !modNPC.Phase2Started)
if (head is null || modNPC.AwaitingPhase2Teleport || !modNPC.Phase2Started)
return;
rotation = NPC.rotation;