Skip to content

Commit

Permalink
Localize SysTime for sethook
Browse files Browse the repository at this point in the history
  • Loading branch information
marchc1 committed Sep 14, 2024
1 parent 84e445a commit c5d60b4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lua/starfall/instance.lua
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,8 @@ local function xpcall_callback(err)
return err
end

local SysTime = SysTime

--- Internal function - do not call.
-- Runs a function while incrementing the instance ops coutner.
-- This does no setup work and shouldn't be called by client code
Expand Down

0 comments on commit c5d60b4

Please sign in to comment.