From 9aa0ac8e3e02fed7bcf87edf56cb43891989be1d Mon Sep 17 00:00:00 2001 From: skull132 Date: Fri, 19 Dec 2014 03:33:00 +0200 Subject: [PATCH] Holder Fix For proc spam. --- code/modules/mob/mob.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mob/mob.dm b/code/modules/mob/mob.dm index eb2172f8..fb31d066 100644 --- a/code/modules/mob/mob.dm +++ b/code/modules/mob/mob.dm @@ -739,7 +739,7 @@ note dizziness decrements automatically in the mob's Life() proc. var/total = 0 var/staff = 0 for(var/client/C in clients) - if(C.holder.rights & R_ADMIN || C.holder.rights & R_MOD) + if(C.holder && (C.holder.rights & R_ADMIN || C.holder.rights & R_MOD)) staff++ if(istype(C.mob, /mob/living)) players++