This commit is contained in:
2025-08-25 16:28:41 +09:00
parent 8cc3805656
commit 6df40ac157

View File

@@ -194,6 +194,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) and (not game.forces["spawn"] or game.forces["spawn"].valid) then
game.create_force("spawn")
end
spawn_turrets()
end)
end