mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-12 23:54:53 +09:00
Fix no spawn force without players joining (#400)
This commit is contained in:
1 parent
5b9259d166
commit
e2a7ab7b8b
1 file changed
+3
@@ -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