mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +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)
|
if(NonActive)
|
||||||
PumpNetwork();
|
PumpNetwork();
|
||||||
|
|
||||||
#ifndef CONF_FAMILY_WINDOWS
|
|
||||||
set_new_tick();
|
set_new_tick();
|
||||||
#endif
|
|
||||||
|
|
||||||
int64 t = time_get();
|
int64 t = time_get();
|
||||||
int NewTicks = 0;
|
int NewTicks = 0;
|
||||||
|
@ -1724,9 +1722,7 @@ int CServer::Run()
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
#ifndef CONF_FAMILY_WINDOWS
|
|
||||||
set_new_tick();
|
set_new_tick();
|
||||||
#endif
|
|
||||||
int64 t = time_get();
|
int64 t = time_get();
|
||||||
int x = (TickStartTime(m_CurrentGameTick+1) - t) * 1000000 / time_freq() + 1;
|
int x = (TickStartTime(m_CurrentGameTick+1) - t) * 1000000 / time_freq() + 1;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue