Adminboooooooooooooos

This commit is contained in:
DZD
2015-08-03 11:25:37 -04:00
parent f6c0120d2e
commit 1a15dbd432
4 changed files with 29 additions and 8 deletions
+10
View File
@@ -238,6 +238,7 @@ client
body += "<option value='?_src_=vars;mark_object=\ref[D]'>Mark Object</option>"
body += "<option value='?_src_=vars;proc_call=\ref[D]'>Call Proc</option>"
if(ismob(D))
body += "<option value='?_src_=vars;mob_player_panel=\ref[D]'>Show player panel</option>"
@@ -696,6 +697,15 @@ client
src.holder.marked_datum = D
href_list["datumrefresh"] = href_list["mark_object"]
else if(href_list["proc_call"])
if(!check_rights(0))
return
var/T = locate(href_list["proc_call"])
if(T)
callproc_datum(T)
else if(href_list["rotatedatum"])
if(!check_rights(0)) return