Adding an admin_check to can_admin_interact()

This commit is contained in:
Markolie
2017-02-09 01:21:42 +01:00
parent 77e54da0f6
commit 1b4d73d6f7
+1 -1
View File
@@ -648,7 +648,7 @@ This is the proc mobs get to turn into a ghost. Forked from ghostize due to comp
return 0
/mob/dead/observer/can_admin_interact()
return client && client.observer_interact
return client && client.observer_interact && check_rights(R_ADMIN, 0, src)
//this is a mob verb instead of atom for performance reasons
//see /mob/verb/examinate() in mob.dm for more info