From a95cf7be2bb7ac3892aa220e24b80e2c3a426fab Mon Sep 17 00:00:00 2001 From: Bloop <13398309+vinylspiders@users.noreply.github.com> Date: Sat, 21 Oct 2023 02:23:33 -0400 Subject: [PATCH] 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: --- 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