From 031170749fb61e5a5fe63f4963c386538cdc422c Mon Sep 17 00:00:00 2001 From: ZomgPonies Date: Fri, 4 Oct 2013 02:58:03 -0400 Subject: [PATCH] Fix PDA runtime --- code/game/objects/items/devices/PDA/PDA.dm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/code/game/objects/items/devices/PDA/PDA.dm b/code/game/objects/items/devices/PDA/PDA.dm index 47bddd16619..6425a7db023 100755 --- a/code/game/objects/items/devices/PDA/PDA.dm +++ b/code/game/objects/items/devices/PDA/PDA.dm @@ -518,6 +518,8 @@ var/global/list/obj/item/device/pda/PDAs = list() var/mob/living/U = usr //Looking for master was kind of pointless since PDAs don't appear to have one. //if ((src in U.contents) || ( istype(loc, /turf) && in_range(src, U) ) ) + if (usr.stat == DEAD) + return 0 if(can_use()) //Why reinvent the wheel? There's a proc that does exactly that.