From d72dde631ce7cbc64af2d968b25ac7bf318d7dad Mon Sep 17 00:00:00 2001 From: SmArtKar <44720187+SmArtKar@users.noreply.github.com> Date: Sun, 2 Nov 2025 15:30:07 +0100 Subject: [PATCH] Fixes ``"Return Value of Proccall"`` breaking on list returns (#93727) ## About The Pull Request Closes #93693 ## Changelog :cl: fix: Fixed ``"Return Value of Proccall"`` breaking on list returns when an admin calls a proc /:cl: --- code/modules/admin/callproc/callproc.dm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/code/modules/admin/callproc/callproc.dm b/code/modules/admin/callproc/callproc.dm index 823a4a9e64b..0bf18468906 100644 --- a/code/modules/admin/callproc/callproc.dm +++ b/code/modules/admin/callproc/callproc.dm @@ -159,7 +159,10 @@ ADMIN_VERB(advanced_proc_call, R_DEBUG, "Advanced ProcCall", "Call a proc on any returnval = WrapAdminProcCall(GLOBAL_PROC, procname, lst) // Pass the lst as an argument list to the proc BLACKBOX_LOG_ADMIN_VERB("Advanced ProcCall") if(get_retval) - get_retval += returnval + if (islist(returnval)) + get_retval += list(returnval) // Wrap to stop BYOND from concat-ing the lists + else + get_retval += returnval . = get_callproc_returnval(returnval, procname) if(.) to_chat(usr, ., confidential = TRUE)