Added check for MP to avoid Exception
This commit is contained in:
1 parent
5a1ba771fc
commit
13c71f7272
1 file changed
+1
-1
@@ -442,7 +442,7 @@ namespace CalamityMod.UI.ModeIndicator
|
||||
|
||||
SoundEngine.PlaySound(mode.ActivationSound);
|
||||
|
||||
if (broadcast)
|
||||
if (Main.netMode != NetmodeID.SinglePlayer && broadcast)
|
||||
{
|
||||
SwitchToDifficultyPacket.Send(mode);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user