[MIRROR] Refactors do_after w/ TG's do_after (#11486)

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2025-08-22 20:35:16 -04:00
committed by GitHub
co-authored by Cameron Lennox
parent c1fffe13f3
commit f85a202d80
91 changed files with 558 additions and 310 deletions
+2 -2
View File
@@ -176,7 +176,7 @@
CRASH("item add_item_action got a type or instance of something that wasn't an action.")
LAZYADD(actions, action)
RegisterSignal(action, COMSIG_PARENT_QDELETING, PROC_REF(on_action_deleted))
RegisterSignal(action, COMSIG_QDELETING, PROC_REF(on_action_deleted))
if(ismob(loc))
// We're being held or are equipped by someone while adding an action?
// Then they should also probably be granted the action, given it's in a correct slot
@@ -190,7 +190,7 @@
if(!action)
return
UnregisterSignal(action, COMSIG_PARENT_QDELETING)
UnregisterSignal(action, COMSIG_QDELETING)
LAZYREMOVE(actions, action)
qdel(action)