net: Increase run frequency for dedicated server.
This should really be changed to block until new packets are received, but until then, this is at least an improvement. 10ms is too coarsely-grained considering how critical the latency is to the game.
This commit is contained in:
parent
b325126974
commit
660cad3966
1 changed files with 2 additions and 1 deletions
|
|
@ -73,7 +73,8 @@ void NET_DedicatedServer(void)
|
|||
while (true)
|
||||
{
|
||||
NET_SV_Run();
|
||||
I_Sleep(10);
|
||||
// TODO: Block on socket instead of polling.
|
||||
I_Sleep(1);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue