This commit is contained in:
2022-11-10 17:09:37 +02:00
parent 411c341278
commit 36c09efac0
12 changed files with 24 additions and 23 deletions

View File

@@ -36,7 +36,7 @@ namespace Game
private static void OnClientUpdate()
{
using Utilities.ScopeProfiler _ = Utilities.ProfileScope("NetworkManager_OnClientUpdate");
/*using*/ Utilities.ScopeProfiler _ = Utilities.ProfileScope("NetworkManager_OnClientUpdate");
while (client.PopEvent(out NetworkEvent networkEvent))
switch (networkEvent.EventType)
@@ -98,6 +98,7 @@ namespace Game
default:
throw new ArgumentOutOfRangeException();
}
_.Dispose();
}
private static void OnClientActorSpawned(Actor actor)