From cddfa629807571918182b8490285622402603c3f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Aguilera=20Puerto?= Date: Tue, 7 Jul 2020 18:10:35 +0200 Subject: [PATCH] Fix MsgSandboxRespawn not being registered client-side. --- Content.Client/Sandbox/SandboxManager.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Content.Client/Sandbox/SandboxManager.cs b/Content.Client/Sandbox/SandboxManager.cs index 9a83f2b29e..5224fd5b38 100644 --- a/Content.Client/Sandbox/SandboxManager.cs +++ b/Content.Client/Sandbox/SandboxManager.cs @@ -44,6 +44,8 @@ namespace Content.Client.Sandbox _netManager.RegisterNetMessage(nameof(MsgSandboxStatus), message => SetAllowed(message.SandboxAllowed)); + _netManager.RegisterNetMessage(nameof(MsgSandboxRespawn)); + _gameHud.SandboxButtonToggled = SandboxButtonPressed; _inputManager.SetInputCommand(ContentKeyFunctions.OpenEntitySpawnWindow,