mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
admin accountability (#17585)
This commit is contained in:
@@ -1031,6 +1031,8 @@
|
|||||||
var/newname = input(usr, "What do you want to rename this to?", "Automatic Rename") as null|text
|
var/newname = input(usr, "What do you want to rename this to?", "Automatic Rename") as null|text
|
||||||
// Check the new name against the chat filter. If it triggers the IC chat filter, give an option to confirm.
|
// Check the new name against the chat filter. If it triggers the IC chat filter, give an option to confirm.
|
||||||
if(newname)
|
if(newname)
|
||||||
|
log_admin("[key_name(usr)] renamed [src] to [newname].")
|
||||||
|
message_admins("Admin [key_name_admin(usr)] renamed [ADMIN_FLW(src)] to [newname].")
|
||||||
vv_auto_rename(newname)
|
vv_auto_rename(newname)
|
||||||
|
|
||||||
/atom/proc/vv_auto_rename(newname)
|
/atom/proc/vv_auto_rename(newname)
|
||||||
|
|||||||
@@ -80,6 +80,8 @@
|
|||||||
names += V
|
names += V
|
||||||
sleep(0.1 SECONDS)//For some reason, without this sleep, VVing will cause client to disconnect on certain objects.
|
sleep(0.1 SECONDS)//For some reason, without this sleep, VVing will cause client to disconnect on certain objects.
|
||||||
|
|
||||||
|
log_admin("[key_name(usr)] viewed the variables of [D].")
|
||||||
|
|
||||||
var/list/variable_html = list()
|
var/list/variable_html = list()
|
||||||
if (islist)
|
if (islist)
|
||||||
var/list/L = D
|
var/list/L = D
|
||||||
|
|||||||
Reference in New Issue
Block a user