mirror of
https://github.com/Citadel-Station-13/Citadel-Station-13-RP.git
synced 2026-08-27 11:06:33 +01:00
[MDB IGNORE] engineering 1/4: dynamic / procedural gases, XGM touchups (#5674)
Co-authored-by: VM_USER <VM_USER> Co-authored-by: silicons <no@you.cat>
This commit is contained in:
co-authored by
VM_USER <VM_USER>
silicons
parent
8f290dd585
commit
dd2e201d4a
@@ -185,6 +185,8 @@ GLOBAL_PROTECT(AdminProcCallSpamPrevention)
|
||||
retval += named_args
|
||||
return retval
|
||||
|
||||
// todo: rework all of vv and proccall yet again because this is shit formatting
|
||||
|
||||
/client/proc/get_callproc_returnval(returnval,procname)
|
||||
. = ""
|
||||
if(islist(returnval))
|
||||
@@ -195,7 +197,7 @@ GLOBAL_PROTECT(AdminProcCallSpamPrevention)
|
||||
if(istext(assoc_check) && (returnedlist[assoc_check] != null))
|
||||
. += "[procname] returned an associative list:"
|
||||
for(var/key in returnedlist)
|
||||
. += "\n[key] = [returnedlist[key]]"
|
||||
. += "\n[key] = [islist(returnedlist[key])? json_encode(returnedlist[key]) : returnedlist[key]]"
|
||||
|
||||
else
|
||||
. += "[procname] returned a list:"
|
||||
|
||||
Reference in New Issue
Block a user