From eeec0be2b2eb56f4eaf1c4e594940efa3600e367 Mon Sep 17 00:00:00 2001 From: Erthilo Date: Thu, 10 May 2012 21:45:45 +0100 Subject: [PATCH] Runtime prevention for timeofdeath thingy. --- code/modules/mob/dead/observer/observer.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/mob/dead/observer/observer.dm b/code/modules/mob/dead/observer/observer.dm index 64dd06d7c23..49cb49d38b6 100644 --- a/code/modules/mob/dead/observer/observer.dm +++ b/code/modules/mob/dead/observer/observer.dm @@ -71,7 +71,8 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp if(key) var/mob/dead/observer/ghost = new(src) ghost.key = key - ghost.timeofdeath = timeofdeath + if(timeofdeath) + ghost.timeofdeath = timeofdeath verbs -= /mob/proc/ghost if (ghost.client) ghost.client.eye = ghost