Fix PDA runtime

This commit is contained in:
ZomgPonies
2013-10-04 02:58:03 -04:00
parent 4f66dbb8a0
commit 031170749f
@@ -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.