Fix MsgSandboxRespawn not being registered client-side.

This commit is contained in:
Víctor Aguilera Puerto
2020-07-07 18:10:35 +02:00
parent c78ce3e27a
commit cddfa62980

View File

@@ -44,6 +44,8 @@ namespace Content.Client.Sandbox
_netManager.RegisterNetMessage<MsgSandboxStatus>(nameof(MsgSandboxStatus),
message => SetAllowed(message.SandboxAllowed));
_netManager.RegisterNetMessage<MsgSandboxRespawn>(nameof(MsgSandboxRespawn));
_gameHud.SandboxButtonToggled = SandboxButtonPressed;
_inputManager.SetInputCommand(ContentKeyFunctions.OpenEntitySpawnWindow,