Skip to content

Commit

Permalink
Localize SysTime for sethook (#1849)
Browse files Browse the repository at this point in the history
* Localize SysTime for sethook

* Put it here instead

* Move it again
  • Loading branch information
marchc1 authored Sep 14, 2024
1 parent 222f10f commit 73fea61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/starfall/instance.lua
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

local dsethook, dgethook = debug.sethook, debug.gethook
local dgetmeta = debug.getmetatable
local SysTime = SysTime

if SERVER then
SF.cpuQuota = CreateConVar("sf_timebuffer", 0.005, FCVAR_ARCHIVE, "The max average the CPU time can reach.")
Expand Down

0 comments on commit 73fea61

Please sign in to comment.