From c2c8f00d16c0672fcefbeb1c3e640580c32963cb Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Tue, 18 Jul 2023 22:43:53 +0200 Subject: [PATCH] [MIRROR] Fixes triple carp shuttle event failing [MDB IGNORE] (#22539) * Fixes triple carp shuttle event failing (#76860) * Fixes triple carp shuttle event failing --------- Co-authored-by: Time-Green <7501474+Time-Green@users.noreply.github.com> Co-authored-by: Pinta <68373373+softcerv@users.noreply.github.com> Co-authored-by: Bloop --- code/modules/shuttle/shuttle_events/player_controlled.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/shuttle/shuttle_events/player_controlled.dm b/code/modules/shuttle/shuttle_events/player_controlled.dm index 5b4387f3eb1..ef7e2c33170 100644 --- a/code/modules/shuttle/shuttle_events/player_controlled.dm +++ b/code/modules/shuttle/shuttle_events/player_controlled.dm @@ -65,4 +65,4 @@ var/list/spawning_list_copy = spawning_list.Copy() spawning_list.Cut() for(var/i in 1 to max_carp_spawns) - spawning_list.Add(pick_weight(spawning_list_copy)) + spawning_list[pick_weight(spawning_list_copy)] += 1