Fixes SDQL's CALL

This commit is contained in:
Tastyfish
2016-03-20 15:19:25 -04:00
parent 5969742389
commit 87745262f3
2 changed files with 9 additions and 2 deletions
+4 -1
View File
@@ -91,7 +91,10 @@
// To stop any procs which sleep from executing slowly.
if(d)
if(hascall(d, v))
spawn() call(d, v)(arglist(args_list)) // Spawn in case the function sleeps.
var/list/arguments[0]
for(var/list/arg in args_list)
arguments += SDQL_expression(d, arg)
spawn() call(d, v)(arglist(arguments)) // Spawn in case the function sleeps.
if("delete")
for(var/datum/d in objs)