HelperLib: Smc.registerGlobalStepForEachPlayer fix

This commit is contained in:
Van
2026-04-03 21:37:39 +03:00
parent 162f8d2639
commit 89c52c80bc

View File

@@ -41,7 +41,7 @@ local callsForEachPlayer = {}
---@param timeDelay number ---@param timeDelay number
---@param callbackFunc fun(deltaTime:number, player:Player) ---@param callbackFunc fun(deltaTime:number, player:Player)
function Smc.registerGlobalStepForEachPlayer(timeDelay, callbackFunc) function Smc.registerGlobalStepForEachPlayer(timeDelay, callbackFunc)
table.insert(callsWithDelay, { table.insert(callsForEachPlayer, {
timeDelay = timeDelay, timeDelay = timeDelay,
callbackFunc = callbackFunc, callbackFunc = callbackFunc,
timer = 0.0, timer = 0.0,