From 1ab3422aabcb9774e64ac6c29c5fbcf2f1ee6036 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sat, 21 Oct 2023 20:22:57 +0200 Subject: [PATCH] [MIRROR] Fixes manual revenant event trigger [MDB IGNORE] (#24483) * Fixes manual revenant event trigger (#79104) ## About The Pull Request Continuing the work of https://github.com/tgstation/tgstation/pull/78910, there was another place that got missed. Observers don't have minds so this will cause a runtime. Fixes https://github.com/Skyrat-SS13/Skyrat-tg/issues/24407 ## Why It's Good For The Game Being able to admin spawn revenants again is nice ## Changelog :cl: fix: admin triggering the Revenant event now works again /:cl: * Fixes manual revenant event trigger --------- Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com> --- code/modules/events/ghost_role/revenant_event.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/events/ghost_role/revenant_event.dm b/code/modules/events/ghost_role/revenant_event.dm index f739a3e13d4..4ed05bbc82c 100644 --- a/code/modules/events/ghost_role/revenant_event.dm +++ b/code/modules/events/ghost_role/revenant_event.dm @@ -55,7 +55,7 @@ return MAP_ERROR var/mob/living/basic/revenant/revvie = new(pick(spawn_locs)) - selected.mind.transfer_to(revvie) + revvie.key = selected.key message_admins("[ADMIN_LOOKUPFLW(revvie)] has been made into a revenant by an event.") revvie.log_message("was spawned as a revenant by an event.", LOG_GAME) spawned_mobs += revvie