Fix MsgSandboxRespawn not being registered client-side.
This commit is contained in:
@@ -44,6 +44,8 @@ namespace Content.Client.Sandbox
|
|||||||
_netManager.RegisterNetMessage<MsgSandboxStatus>(nameof(MsgSandboxStatus),
|
_netManager.RegisterNetMessage<MsgSandboxStatus>(nameof(MsgSandboxStatus),
|
||||||
message => SetAllowed(message.SandboxAllowed));
|
message => SetAllowed(message.SandboxAllowed));
|
||||||
|
|
||||||
|
_netManager.RegisterNetMessage<MsgSandboxRespawn>(nameof(MsgSandboxRespawn));
|
||||||
|
|
||||||
_gameHud.SandboxButtonToggled = SandboxButtonPressed;
|
_gameHud.SandboxButtonToggled = SandboxButtonPressed;
|
||||||
|
|
||||||
_inputManager.SetInputCommand(ContentKeyFunctions.OpenEntitySpawnWindow,
|
_inputManager.SetInputCommand(ContentKeyFunctions.OpenEntitySpawnWindow,
|
||||||
|
|||||||
Reference in New Issue
Block a user