mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-03 14:12:29 +00:00
So long (#19291)
This commit is contained in:
@@ -632,8 +632,7 @@ GLOBAL_PROTECT(VVmaint_only)
|
||||
return
|
||||
|
||||
if(VV_RESTORE_DEFAULT)
|
||||
// This originally did initial(O.vars[variable]) but initial() doesn't work on a list index
|
||||
var_new = O.vars[variable]
|
||||
var_new = initial(O.vars[variable])
|
||||
|
||||
if(VV_TEXT)
|
||||
var/list/varsvars = vv_parse_text(O, var_new)
|
||||
@@ -644,7 +643,7 @@ GLOBAL_PROTECT(VVmaint_only)
|
||||
to_chat(src, "Your edit was rejected by the object.")
|
||||
return
|
||||
SEND_GLOBAL_SIGNAL(COMSIG_GLOB_VAR_EDIT, args)
|
||||
log_world("### VarEdit by [src]: [O.type] [variable]=[html_encode("[var_new]")]")
|
||||
log_admin("[key_name(src)] modified [original_name]'s [variable] to [var_new]")
|
||||
var/msg = "[key_name_admin(src)] modified [original_name]'s [variable] to [html_encode("[var_new]")]"
|
||||
log_world("### VarEdit by [src]: [O.type] [variable]=[html_encode("[var_new]")] (Type: [class])")
|
||||
log_admin("[key_name(src)] modified [original_name]'s [variable] to [var_new] (Type: [class])")
|
||||
var/msg = "[key_name_admin(src)] modified [original_name]'s [variable] to [html_encode("[var_new]")] (Type: [class])"
|
||||
message_admins(msg)
|
||||
|
||||
Reference in New Issue
Block a user