[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:
silicons
2023-08-18 21:18:13 +02:00
committed by GitHub
co-authored by VM_USER <VM_USER> silicons
parent 8f290dd585
commit dd2e201d4a
361 changed files with 8908 additions and 8541 deletions
+3 -1
View File
@@ -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:"