From 9c62bb5f55c0f2fefaf4e5ea2a8dfce8fa32d3a3 Mon Sep 17 00:00:00 2001 From: TheFurryFeline Date: Wed, 15 May 2019 15:32:47 -0400 Subject: [PATCH] Lift Spawnpoint Fix Fixes the spawnpoint given to the Elevator objs inside one of the three portal rooms. You'll be able to spawn in and out, the location saved to your persistency settings. --- code/game/machinery/cryopod_vr.dm | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/code/game/machinery/cryopod_vr.dm b/code/game/machinery/cryopod_vr.dm index d4b2f84220..c5b9d64e97 100644 --- a/code/game/machinery/cryopod_vr.dm +++ b/code/game/machinery/cryopod_vr.dm @@ -22,7 +22,8 @@ /obj/machinery/computer/cryopod/gateway name = "teleport oversight console" desc = "An interface between visitors and the teleport oversight systems tasked with keeping track of all visitors who enter or exit from the teleporters." -/* VOREStation Edit + +//TFF 15/5/19 - Corrects spawnpoint type so that persistency saves properly. /obj/machinery/cryopod/robot/door/dorms desc = "A small elevator that goes down to the residential district." on_enter_occupant_message = "The elevator door closes slowly, ready to bring you down to the residential district." @@ -31,27 +32,26 @@ /obj/machinery/computer/cryopod/dorms name = "residential oversight console" desc = "An interface between visitors and the residential oversight systems tasked with keeping track of all visitors in the residential district." -*/ /obj/machinery/cryopod/proc/log_special_item(var/atom/movable/item,var/mob/to_despawn) ASSERT(item && to_despawn) - + var/loaded_from_key var/char_name = to_despawn.name var/item_name = item.name - + // Best effort key aquisition if(ishuman(to_despawn)) var/mob/living/carbon/human/H = to_despawn if(H.original_player) loaded_from_key = H.original_player - + if(!loaded_from_key && to_despawn.mind && to_despawn.mind.loaded_from_ckey) loaded_from_key = to_despawn.mind.loaded_from_ckey - + else loaded_from_key = "INVALID" - + // Log to harrass them later log_game("CRYO [loaded_from_key]/([to_despawn.name]) cryo'd with [item_name] ([item.type])") qdel(item)