mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-29 07:59:01 +01:00
Async as define (#17542)
* Atomization * changelog * this file wasn't supposed to be included here --------- Co-authored-by: FluffyGhost <FluffyGhost>
This commit is contained in:
co-authored by
FluffyGhost <FluffyGhost>
parent
868fde6316
commit
5cb7c8f38e
@@ -290,16 +290,14 @@
|
||||
if(!C.signal_enabled)
|
||||
return NONE
|
||||
var/proctype = C.signal_procs[src][sigtype]
|
||||
arguments = list(C, proctype) + arguments
|
||||
return NONE | INVOKE_ASYNC(arglist(arguments))
|
||||
return NONE | call(C, proctype)(arglist(arguments))
|
||||
. = NONE
|
||||
for(var/I in target)
|
||||
var/datum/C = I
|
||||
if(!C.signal_enabled)
|
||||
continue
|
||||
var/proctype = C.signal_procs[src][sigtype]
|
||||
arguments = list(C, proctype) + arguments
|
||||
. |= INVOKE_ASYNC(arglist(arguments))
|
||||
. |= call(C, proctype)(arglist(arguments))
|
||||
|
||||
// The type arg is casted so initial works, you shouldn't be passing a real instance into this
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user