From e34afed3fa835709ee224bd46c83690d78b1b5de Mon Sep 17 00:00:00 2001 From: Neerti Date: Sun, 28 Aug 2016 21:15:02 -0400 Subject: [PATCH] Fixes cryopods of all types not setting occupant correctly. --- code/game/machinery/cryopod.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/game/machinery/cryopod.dm b/code/game/machinery/cryopod.dm index bf79ac9da37..cde713b97e5 100644 --- a/code/game/machinery/cryopod.dm +++ b/code/game/machinery/cryopod.dm @@ -638,8 +638,8 @@ return -/obj/machinery/cryopod/proc/set_occupant(var/occupant) - occupant = occupant +/obj/machinery/cryopod/proc/set_occupant(var/new_occupant) + occupant = new_occupant name = initial(name) if(occupant) name = "[name] ([occupant])"