mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 16:47:13 +01:00
[MIRROR] Adds Datum Tagging for admins [MDB IGNORE] (#10185)
* Adds Datum Tagging for admins (#62982) * Adds Datum Tagging for admins Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com>
This commit is contained in:
@@ -1980,3 +1980,24 @@
|
||||
if(!check_rights(R_ADMIN))
|
||||
return
|
||||
GLOB.interviews.ui_interact(usr)
|
||||
|
||||
else if(href_list["del_tag"])
|
||||
if(!check_rights(R_ADMIN))
|
||||
return
|
||||
var/datum/datum_to_remove = locate(href_list["del_tag"])
|
||||
if(!datum_to_remove)
|
||||
return
|
||||
return remove_tagged_datum(datum_to_remove)
|
||||
|
||||
else if(href_list["show_tags"])
|
||||
if(!check_rights(R_ADMIN))
|
||||
return
|
||||
return display_tags()
|
||||
|
||||
else if(href_list["mark_datum"])
|
||||
if(!check_rights(R_ADMIN))
|
||||
return
|
||||
var/datum/datum_to_mark = locate(href_list["mark_datum"])
|
||||
if(!datum_to_mark)
|
||||
return
|
||||
return usr.client?.mark_datum(datum_to_mark)
|
||||
|
||||
Reference in New Issue
Block a user