Fix: Resolve an exception when restarting Netick after Network.ShutdownImmediately

This commit is contained in:
Karrar
2025-08-18 19:31:41 +03:00
parent 0843f02c15
commit 226a4f2609
11 changed files with 10 additions and 2 deletions

View File

@@ -14,7 +14,7 @@ namespace Netick.Samples.Bomberman
public override void NetworkAwake()
{
Sandbox.Events.OnInputRead += OnInput;
Sandbox.Events.OnInput += OnInput;
Sandbox.Events.OnConnectRequest += OnConnectRequest;
Sandbox.Events.OnPlayerJoined += OnPlayerJoined;
Sandbox.Events.OnPlayerLeft += OnPlayerLeft;