improved server

This commit is contained in:
2025-07-14 14:59:41 +03:00
parent a9c28b8940
commit 3e27fb1bd4
20 changed files with 400 additions and 97 deletions

View File

@@ -54,9 +54,6 @@ void IServer::Think( float fDelta )
/* tickrate */
while(g_fAccumulator>=fTickrate)
{
#ifdef STEAM_ENABLED
SteamGameServer_RunCallbacks();
#endif
IInput::Frame();
IConsole::Execute();
g_fAccumulator-=fTickrate;
@@ -66,6 +63,7 @@ void IServer::Think( float fDelta )
entity->Sync(0, 0);
}
px_frame(px, fTickrate);
INetworking::Frame();
}
for (auto &entity: g_entities)
{