We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2e697c6 commit 1b8d130Copy full SHA for 1b8d130
core/TimerSys.cpp
@@ -234,15 +234,13 @@ void TimerSystem::GameFrame(bool simulating)
234
m_fLastTickedTime = gpGlobals->curtime;
235
m_bHasMapTickedYet = true;
236
237
- RunFrame();
238
-/*
239
if (g_fUniversalTime >= g_fTimerThink)
240
{
241
RunFrame();
242
243
- g_fTimerThink = CalcNextThink(g_fTimerThink, TIMER_MIN_ACCURACY);
+ g_fTimerThink = CalcNextThink(g_fTimerThink, gpGlobals->interval_per_tick);
244
}
245
-*/
+
246
RunFrameHooks(simulating);
247
248
if (m_pOnGameFrame->GetFunctionCount())
0 commit comments