Increased check_rights flexibility.

NanoUI interfaces no longer appear locked when admin observers look at them for too long.
This commit is contained in:
PsiOmega
2015-03-01 15:29:17 +01:00
parent 413b085994
commit df689a4f72
2 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -13,7 +13,7 @@
return STATUS_CLOSE // By default no mob can do anything with NanoUI
/mob/dead/observer/can_use_topic()
if(check_rights(R_ADMIN, 0))
if(check_rights(R_ADMIN, 0, src))
return STATUS_INTERACTIVE // Admins are more equal
return STATUS_UPDATE // Ghosts can view updates