|
self.use = multi_trigger; |
|
SUB_UseTargets(); |
SUB_UseTargets is called from a touch context, meaning "other" is guaranteed to be assigned, but there's no guarantee about the "activator" global.
Also, it's not clear to me why multi_trigger is assigned to self.use before SUB_UseTargets is called when multi_trigger calls SUB_UseTargets itself. Seems like a bug, but you're doing something I just don't understand.
progs_dump/qc/triggers.qc
Lines 1249 to 1250 in 55960e8
SUB_UseTargets is called from a touch context, meaning "other" is guaranteed to be assigned, but there's no guarantee about the "activator" global.
Also, it's not clear to me why
multi_triggeris assigned toself.usebeforeSUB_UseTargetsis called whenmulti_triggercallsSUB_UseTargetsitself. Seems like a bug, but you're doing something I just don't understand.