From 4153702e8a858510e96e1a35052cde28f1ff810d Mon Sep 17 00:00:00 2001 From: Sierra Helper <125094432+SierraHelper@users.noreply.github.com> Date: Fri, 20 Dec 2024 15:52:35 +0300 Subject: [PATCH] [MIRROR] Legion beacon spawn spam buffer (#2960) Co-authored-by: SierraKomodo <11140088+SierraKomodo@users.noreply.github.com> Co-authored-by: Lexanx <61974560+Lexanx@users.noreply.github.com> --- packs/legion/legion_beacon.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packs/legion/legion_beacon.dm b/packs/legion/legion_beacon.dm index 66eb852b6a822..4132aab15b71e 100644 --- a/packs/legion/legion_beacon.dm +++ b/packs/legion/legion_beacon.dm @@ -24,7 +24,7 @@ var/sensor_range = 8 /// Integer. Time between mob spawns. - var/spawn_rate = 5 SECONDS + var/spawn_rate = 10 SECONDS /// Integer. `world.time` of the last mob spawn. var/last_spawn_time = 0 @@ -88,6 +88,7 @@ if (BEACON_STATE_ON) if (world.time < last_spawn_time + spawn_rate) + last_spawn_time = world.time return if (length(linked_mobs) >= max_active_bots) return