mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-23 04:51:32 +01:00
_SendSignal now sends arguments properly to INVOKE_ASYNC (#9550)
This commit is contained in:
@@ -290,14 +290,16 @@
|
||||
if(!C.signal_enabled)
|
||||
return NONE
|
||||
var/proctype = C.signal_procs[src][sigtype]
|
||||
return NONE | INVOKE_ASYNC(C, proctype, arguments)
|
||||
arguments = list(C, proctype) + arguments
|
||||
return NONE | INVOKE_ASYNC(arglist(arguments))
|
||||
. = NONE
|
||||
for(var/I in target)
|
||||
var/datum/C = I
|
||||
if(!C.signal_enabled)
|
||||
continue
|
||||
var/proctype = C.signal_procs[src][sigtype]
|
||||
. |= INVOKE_ASYNC(C, proctype, arguments)
|
||||
arguments = list(C, proctype) + arguments
|
||||
. |= INVOKE_ASYNC(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