Fixed Desert Scourge's map icon disappearing in Master Mode

This commit is contained in:
CongratsIsTrash committed 2024-05-14 22:29:35 -04:00
1 parent 4bdcb13613
commit 39befd8a07
1 file changed
+1 -1
+1 -1
View File
@@ -121,7 +121,7 @@ namespace CalamityMod.NPCs.DesertScourge
public override void BossHeadSlot(ref int index)
{
if (NPC.AnyNPCs(ModContent.NPCType<DesertNuisanceHead>()) || NPC.AnyNPCs(ModContent.NPCType<DesertNuisanceHeadYoung>()))
if ((NPC.AnyNPCs(ModContent.NPCType<DesertNuisanceHead>()) || NPC.AnyNPCs(ModContent.NPCType<DesertNuisanceHeadYoung>())) && !Main.masterMode)
index = -1;
}