From 0ebe8afd0a35f4f14e5efcd37c60ff7218d62e26 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Thu, 4 Apr 2024 07:45:04 +0200 Subject: [PATCH] [MIRROR] Fix puzzlegrids not reporting their answer (#27040) * Fix puzzlegrids not reporting their answer (#82213) ## About The Pull Request `src` is a a datum, so `get_hearers_in_view` fails ## Changelog :cl: Melbert fix: Puzzlegrids now report their answers properly /:cl: * Fix puzzlegrids not reporting their answer --------- Co-authored-by: MrMelbert <51863163+MrMelbert@users.noreply.github.com> --- code/datums/components/puzzgrid.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/components/puzzgrid.dm b/code/datums/components/puzzgrid.dm index 611df16ccaa..e91bcdb3002 100644 --- a/code/datums/components/puzzgrid.dm +++ b/code/datums/components/puzzgrid.dm @@ -172,7 +172,7 @@ var/message = answers.Join("

-----

") - for (var/mob/mob as anything in get_hearers_in_view(DEFAULT_MESSAGE_RANGE, src)) + for (var/mob/mob in get_hearers_in_view(DEFAULT_MESSAGE_RANGE, parent)) to_chat(mob, message) /datum/component/puzzgrid/ui_data(mob/user)