GetCurrentDiffuculty instead of CalamityWorld.revenge

This commit is contained in:
riiiiiiin authored and Cameron Ewell committed 2025-05-18 10:28:38 -04:00
1 parent b654e5dfc8
commit 6b2e982b8f
1 file changed
+2 -2
+2 -2
View File
@@ -48,9 +48,9 @@ namespace CalamityMod.Systems
{
if (!Main.expertMode)
ModeIndicatorUI.SwitchToDifficulty(NoDifficulty.Instance);
if (Main.expertMode && !Main.masterMode && CalamityWorld.death)
if (Main.expertMode && !Main.masterMode && GetCurrentDifficulty == DeathDifficulty.Instance)
ModeIndicatorUI.SwitchToDifficulty(RevengeanceDifficulty.Instance);
if (Main.masterMode && CalamityWorld.revenge)
if (Main.masterMode && GetCurrentDifficulty == RevengeanceDifficulty.Instance)
ModeIndicatorUI.SwitchToDifficulty(DeathDifficulty.Instance);
}