Skip to content

Commit

Permalink
fixes sdql not asyncing calls (#5681)
Browse files Browse the repository at this point in the history
oh boy this was a long time coming

Co-authored-by: silicons <[email protected]>
  • Loading branch information
silicons and silicons committed Jul 8, 2023
1 parent 8830fdd commit 96b5948
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/admin/verbs/SDQL2/SDQL_2.dm
Original file line number Diff line number Diff line change
Expand Up @@ -1089,7 +1089,7 @@ GLOBAL_DATUM_INIT(sdql2_vv_statobj, /obj/effect/statclick/SDQL2_VV_all, new(null
if(expression[start + 1] == ".")
return SDQL_var(v, expression[start + 2], null, source, superuser, query)
else if(expression[start + 1] == ":")
return (query.options & SDQL2_OPTION_BLOCKING_CALLS)? query.SDQL_function_async(object, v, expression[start + 2], source) : query.SDQL_function_blocking(object, v, expression[start + 2], source)
return (query.options & SDQL2_OPTION_BLOCKING_CALLS)? query.SDQL_function_blocking(object, v, expression[start + 2], source) : query.SDQL_function_async(object, v, expression[start + 2], source)
else if(expression[start + 1] == "\[" && islist(v))
var/list/L = v
var/index = query.SDQL_expression(source, expression[start + 2])
Expand Down

0 comments on commit 96b5948

Please sign in to comment.