mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-22 04:37:45 +01:00
[MIRROR] Refactors do_after w/ TG's do_after (#11486)
Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Cameron Lennox
parent
c1fffe13f3
commit
f85a202d80
@@ -54,9 +54,9 @@ Notes:
|
||||
return FALSE
|
||||
|
||||
if (!isnull(last_target))
|
||||
UnregisterSignal(last_target, COMSIG_PARENT_QDELETING)
|
||||
UnregisterSignal(last_target, COMSIG_QDELETING)
|
||||
|
||||
RegisterSignal(thing, COMSIG_PARENT_QDELETING, PROC_REF(on_target_qdel))
|
||||
RegisterSignal(thing, COMSIG_QDELETING, PROC_REF(on_target_qdel))
|
||||
|
||||
last_target = thing
|
||||
|
||||
|
||||
Reference in New Issue
Block a user