mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-02-06 14:48:59 +00:00
Fixes function call with lists
This commit is contained in:
@@ -422,7 +422,7 @@
|
||||
/proc/SDQL_function(var/datum/object, var/procname, var/list/arguments, source)
|
||||
var/list/new_args = list()
|
||||
for(var/arg in arguments)
|
||||
new_args += SDQL_expression(source, arg)
|
||||
new_args[++new_args.len] = SDQL_expression(source, arg)
|
||||
|
||||
if (object == world) // Global proc.
|
||||
procname = "/proc/[procname]"
|
||||
|
||||
Reference in New Issue
Block a user