File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -374,12 +374,6 @@ local function OnCreateMove(cmd)
374374 -- end
375375 Profiler .End (" PlayerCache_Sync" )
376376
377- if enableValveCheck then
378- Profiler .Begin (" ValveCheck_Deferred" )
379- ValveCheck .Tick ()
380- Profiler .End (" ValveCheck_Deferred" )
381- end
382-
383377 -- Skip all detector work on frames where the game tick hasn't advanced
384378 -- (CreateMove fires per frame, game ticks at 66 Hz)
385379 local curTick = globals .TickCount ()
@@ -393,6 +387,12 @@ local function OnCreateMove(cmd)
393387 Evidence .ApplyDecay ()
394388 Profiler .End (" Evidence_Decay" )
395389
390+ if enableValveCheck then
391+ Profiler .Begin (" ValveCheck_Deferred" )
392+ ValveCheck .Tick ()
393+ Profiler .End (" ValveCheck_Deferred" )
394+ end
395+
396396 local isDebug = isDebugEnabled ()
397397 local localID = tostring (Common .GetSteamID64 (localPlayer ) or " " )
398398 local stateTable = PlayerCache .GetActiveTable ()
You can’t perform that action at this time.
0 commit comments