mirror of
https://github.com/ddnet/ddnet.git
synced 2024-09-20 09:34:19 +00:00
Revert "Try only to make performant server on non-Windows"
This reverts commit d9e207816e
.
This commit is contained in:
parent
d9e207816e
commit
47842eeac6
|
@ -1628,9 +1628,7 @@ int CServer::Run()
|
|||
if(NonActive)
|
||||
PumpNetwork();
|
||||
|
||||
#ifndef CONF_FAMILY_WINDOWS
|
||||
set_new_tick();
|
||||
#endif
|
||||
|
||||
int64 t = time_get();
|
||||
int NewTicks = 0;
|
||||
|
@ -1724,9 +1722,7 @@ int CServer::Run()
|
|||
}
|
||||
else
|
||||
{
|
||||
#ifndef CONF_FAMILY_WINDOWS
|
||||
set_new_tick();
|
||||
#endif
|
||||
int64 t = time_get();
|
||||
int x = (TickStartTime(m_CurrentGameTick+1) - t) * 1000000 / time_freq() + 1;
|
||||
|
||||
|
|
Loading…
Reference in a new issue