Fix no spawn force without players joining (#400)

This commit is contained in:
2025-08-26 06:56:04 +09:00
committed by GitHub
parent 5b9259d166
commit e2a7ab7b8b

View File

@@ -205,6 +205,9 @@ end
if config.turrets.enabled then
Event.on_nth_tick(config.turrets.refill_time, function()
if game.tick < 10 then return end
if game.tick < (config.turrets.refill_time + 10) then
get_spawn_force()
end
spawn_turrets()
end)
end