From 2bea8acbb6624ddc6d68f04942889565b50332e2 Mon Sep 17 00:00:00 2001 From: Sparky Date: Sun, 27 Nov 2022 17:44:01 +0000 Subject: [PATCH] Fix crew manifest following for silicon mobs. (#15181) Title. --- code/controllers/subsystems/records.dm | 6 +++--- html/changelogs/followrobotsmanifestfix.yml | 6 ++++++ 2 files changed, 9 insertions(+), 3 deletions(-) create mode 100644 html/changelogs/followrobotsmanifestfix.yml diff --git a/code/controllers/subsystems/records.dm b/code/controllers/subsystems/records.dm index e680c8987a4..2e71a8df514 100644 --- a/code/controllers/subsystems/records.dm +++ b/code/controllers/subsystems/records.dm @@ -192,9 +192,9 @@ if(href_list["action"] == "follow") // from manifest.vue var/mob/abstract/observer/O = usr if(istype(O)) - for(var/mob/living/carbon/human/H in human_mob_list) - if(istype(H) && H.real_name == href_list["name"]) - O.ManualFollow(H) + for(var/mob/living/M in player_list) + if(istype(M) && M.real_name == href_list["name"]) + O.ManualFollow(M) break . = ..() diff --git a/html/changelogs/followrobotsmanifestfix.yml b/html/changelogs/followrobotsmanifestfix.yml new file mode 100644 index 00000000000..d77b59d9e0f --- /dev/null +++ b/html/changelogs/followrobotsmanifestfix.yml @@ -0,0 +1,6 @@ +author: Sparky_hotdog + +delete-after: True + +changes: + - bugfix: "Fixes following shipbounds from the crew manifest as a ghost."