Holder Fix

For proc spam.
This commit is contained in:
skull132
2014-12-19 03:33:17 +02:00
parent e92d67b70d
commit 9aa0ac8e3e
+1 -1
View File
@@ -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++