From f773813a88fdeeb837b4df8b9ec974b64806b9ee Mon Sep 17 00:00:00 2001 From: NovaBot <154629622+NovaBot13@users.noreply.github.com> Date: Mon, 25 Mar 2024 22:06:00 -0400 Subject: [PATCH] [MIRROR] Fix puzzlegrids not reporting their answer (#1636) * 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)