Skip to content

Commit

Permalink
[MIRROR] Fix puzzlegrids not reporting their answer (#1636)
Browse files Browse the repository at this point in the history
* 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 <[email protected]>
  • Loading branch information
2 people authored and StealsThePRs committed Mar 26, 2024
1 parent a9ac488 commit f773813
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/datums/components/puzzgrid.dm
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@

var/message = answers.Join("<p>-----</p>")

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)
Expand Down

0 comments on commit f773813

Please sign in to comment.