From 6b2e982b8f725bfdef76db7e91c30be144b8cf6b Mon Sep 17 00:00:00 2001 From: riiiiiiin Date: Sun, 18 May 2025 11:26:38 +0800 Subject: [PATCH] GetCurrentDiffuculty instead of CalamityWorld.revenge --- Systems/Mechanic/DifficultyModeSystem.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Systems/Mechanic/DifficultyModeSystem.cs b/Systems/Mechanic/DifficultyModeSystem.cs index e5cde7cdc1..106dd9bdef 100644 --- a/Systems/Mechanic/DifficultyModeSystem.cs +++ b/Systems/Mechanic/DifficultyModeSystem.cs @@ -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); }