Fix game start

This commit is contained in:
Van
2025-12-29 19:12:48 +03:00
parent 514e676e9a
commit 96b51caaaf
8 changed files with 12 additions and 11 deletions

View File

@@ -80,7 +80,7 @@ core.register_on_leaveplayer(function(player, timed_out)
playersControlTimer[playerName] = nil
end)
Api.registerGlobalStepForEachPlayer(0, function(player, deltaTime)
Api.registerGlobalStepForEachPlayer(0, function(deltaTime, player)
if player == nil then
return
end