mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-27 03:25:23 +09:00
Fix no spawn force without players joining (#400)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user