From e4c02d1d9787647ae68e796b10b4ce0db55890cc Mon Sep 17 00:00:00 2001 From: PhantornRU Date: Tue, 9 Apr 2024 04:00:11 +1000 Subject: [PATCH] =?UTF-8?q?=D0=9F=D1=80=D0=B0=D0=B2=D0=BA=D0=B0=20=D0=B2?= =?UTF-8?q?=D1=8B=D0=B1=D0=BE=D1=80=D0=B0=20=D0=BA=D0=BE=D0=BC=D0=B0=D0=BD?= =?UTF-8?q?=D0=B4=D0=BD=D0=BE=D0=B3=D0=BE=20=D1=81=D1=86=D0=B5=D0=BD=D0=B0?= =?UTF-8?q?=D1=80=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../code/antag_mix/scenarios/antag_team_scenario.dm | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/modular_ss220/antagonists/code/antag_mix/scenarios/antag_team_scenario.dm b/modular_ss220/antagonists/code/antag_mix/scenarios/antag_team_scenario.dm index a3beadef268a..73ed93792312 100644 --- a/modular_ss220/antagonists/code/antag_mix/scenarios/antag_team_scenario.dm +++ b/modular_ss220/antagonists/code/antag_mix/scenarios/antag_team_scenario.dm @@ -64,9 +64,11 @@ // If for some reason, not enough members were found - we will try again if(team_size > length(members)) max_teams++ - message_admins("Picked team of: [json_encode(members)]") - log_debug("Picked team of: [json_encode(members)]") - picked_teams += list(members) + continue + + message_admins("Picked team of: [json_encode(members)]") + log_debug("Picked team of: [json_encode(members)]") + picked_teams += list(members) if(!(length(picked_teams) - teams_before > 0)) log_debug("pre_execute team == [length(picked_teams) - teams_before > 0]: [length(picked_teams)], [teams_before], [max_teams]. ")