edit: fixed exo refight bars being screwed over

This commit is contained in:
Altixal committed 2023-04-03 22:03:33 +07:00
1 parent c5c08c5174
commit 709ff320cb
1 file changed
+5 -1
+5 -1
View File
@@ -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;