forked from Apancore.Studio/simple-makes-complex
Fix game start
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user