Rights check instead of holder check? Sure why not.

Mentors can now see ahelps.
This commit is contained in:
Ccomp5950
2014-06-03 15:28:14 -05:00
parent 171a8e2111
commit f0a75407b8
+1 -1
View File
@@ -96,7 +96,7 @@ var/list/adminhelp_ignored_words = list("unknown","the","a","an","of","monkey","
//send this msg to all admins
var/admin_number_afk = 0
for(var/client/X in admins)
if((R_ADMIN|R_MOD) & X.holder.rights)
if((R_ADMIN|R_MOD|R_MENTOR) & X.holder.rights)
if(X.is_afk())
admin_number_afk++
if(X.prefs.toggles & SOUND_ADMINHELP)