From 0d8e6a352c1e786a4e20667a8dce17aad16d1649 Mon Sep 17 00:00:00 2001 From: Werner Date: Tue, 26 Nov 2019 23:53:13 +0100 Subject: [PATCH] Fixes Autoantag spamming that it couldnt spawn antags (#7515) Delays the next autoantag check by min_autotraitor_delay if a spawn has been attempted while the shuttle is on the way. --- code/game/gamemodes/game_mode_latespawn.dm | 1 + 1 file changed, 1 insertion(+) diff --git a/code/game/gamemodes/game_mode_latespawn.dm b/code/game/gamemodes/game_mode_latespawn.dm index 4c76f741305..816db86e9cd 100644 --- a/code/game/gamemodes/game_mode_latespawn.dm +++ b/code/game/gamemodes/game_mode_latespawn.dm @@ -23,6 +23,7 @@ if(emergency_shuttle.online()) message_admins("[uppertext(name)]: An evac or transfer shuttle is on the way. Aborted.") + next_spawn = world.time + min_autotraitor_delay return var/list/usable_templates = list()