From 13c71f7272ac54ecbdb0e5dcc2170ad1925cd0e9 Mon Sep 17 00:00:00 2001 From: Flowaria Date: Fri, 31 Oct 2025 14:42:49 +0900 Subject: [PATCH] Added check for MP to avoid Exception --- UI/ModeIndicator/ModeIndicatorUI.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/UI/ModeIndicator/ModeIndicatorUI.cs b/UI/ModeIndicator/ModeIndicatorUI.cs index 19c6608236..f18f516d30 100644 --- a/UI/ModeIndicator/ModeIndicatorUI.cs +++ b/UI/ModeIndicator/ModeIndicatorUI.cs @@ -442,7 +442,7 @@ namespace CalamityMod.UI.ModeIndicator SoundEngine.PlaySound(mode.ActivationSound); - if (broadcast) + if (Main.netMode != NetmodeID.SinglePlayer && broadcast) { SwitchToDifficultyPacket.Send(mode); }