psure it should be like this?

This commit is contained in:
Alug committed 2024-11-14 06:24:46 +01:00
1 parent b995a764c4
commit f829265f75
1 file changed
+11 -8
+11 -8
View File
@@ -6499,6 +6499,14 @@ void NetUpdate(void)
if (realtics <= 0) // nothing new to update
return;
if (realtics > 5)
{
if (server)
realtics = 1;
else
realtics = 5;
}
#ifdef DEDICATEDIDLETIME
if (server && dedicated && gamestate == GS_LEVEL)
{
@@ -6547,14 +6555,6 @@ void NetUpdate(void)
}
#endif
if (realtics > 5)
{
if (server)
realtics = 1;
else
realtics = 5;
}
gametime = nowtime;
UpdatePingTable();
@@ -6652,6 +6652,9 @@ void NetUpdate(void)
}
Net_AckTicker();
HandleNodeTimeouts();
nowtime /= NEWTICRATERATIO;
if (nowtime > resptime)
{
resptime = nowtime;