From 709ff320cbd1dd49e3f439e14bd218bfca6da3f7 Mon Sep 17 00:00:00 2001 From: Altixal <73398287+Altixal@users.noreply.github.com> Date: Mon, 3 Apr 2023 22:03:33 +0700 Subject: [PATCH] edit: fixed exo refight bars being screwed over --- UI/VanillaBossBars/ExoMechsBossBar.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/UI/VanillaBossBars/ExoMechsBossBar.cs b/UI/VanillaBossBars/ExoMechsBossBar.cs index 64d0dc01d1..4d318f6166 100644 --- a/UI/VanillaBossBars/ExoMechsBossBar.cs +++ b/UI/VanillaBossBars/ExoMechsBossBar.cs @@ -52,7 +52,11 @@ namespace CalamityMod.UI.VanillaBossBars NPC target = Main.npc[info.npcIndexToAimAt]; if (!target.active && !FindMechsAgain(ref info)) - return false; + { + // Reset the spawning bool for refights + AllBossesSpawned = false; + return false; + } // Immediately grab the boss's health, whichever one it is. We will check later. int life = target.life;