mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 03:25:23 +09:00
.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user