From c5d60b4758d104f897308b85afeee46412a7182e Mon Sep 17 00:00:00 2001 From: march <106459595+marchc1@users.noreply.github.com> Date: Sat, 14 Sep 2024 16:01:38 -0700 Subject: [PATCH] Localize SysTime for sethook --- lua/starfall/instance.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lua/starfall/instance.lua b/lua/starfall/instance.lua index f88fc464f..b364a8a59 100644 --- a/lua/starfall/instance.lua +++ b/lua/starfall/instance.lua @@ -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