From 97debc25b2e9de5d44124b2ddc443b9fde81f214 Mon Sep 17 00:00:00 2001 From: GDN <96800819+GDNgit@users.noreply.github.com> Date: Sat, 30 Sep 2023 06:58:37 -0500 Subject: [PATCH] fixes a to_chat runtime (#22646) --- code/modules/antagonists/_common/antag_datum.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/antagonists/_common/antag_datum.dm b/code/modules/antagonists/_common/antag_datum.dm index 61d3e25f1c7..7a0b8caf885 100644 --- a/code/modules/antagonists/_common/antag_datum.dm +++ b/code/modules/antagonists/_common/antag_datum.dm @@ -320,7 +320,7 @@ GLOBAL_LIST_EMPTY(antagonists) if(!length(candidates)) return FALSE var/mob/dead/observer/C = pick(candidates) - to_chat(owner, "Your mob has been taken over by a ghost! Appeal your job ban if you want to avoid this in the future!") + to_chat(owner.current, "Your mob has been taken over by a ghost! Appeal your job ban if you want to avoid this in the future!") message_admins("[key_name_admin(C)] has taken control of ([key_name_admin(owner.current)]) to replace a jobbaned player.") owner.current.ghostize(FALSE) owner.current.key = C.key