[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 17:35:16 -07:00
committed by GitHub
parent c1fffe13f3
commit f85a202d80
91 changed files with 558 additions and 310 deletions

View File

@@ -206,7 +206,7 @@
costumes = typesof(/obj/item/storage/box/halloween/)
/obj/structure/boxpile/attack_hand(mob/living/user)
if(!do_after(user, 5 SECONDS, exclusive = TASK_USER_EXCLUSIVE))
if(!do_after(user, 5 SECONDS))
return
if(!user.ckey)
return

View File

@@ -25,7 +25,7 @@
oocnotes = 1
to_chat(src, span_notify("You begin to reform. You will need to remain still."))
visible_message(span_notify("[src] rapidly contorts and shifts!"), span_danger("You begin to reform."))
if (do_after(src, 40,exclusive = TASK_ALL_EXCLUSIVE))
if (do_after(src, 4 SECONDS))
if (client?.prefs)
client.prefs.vanity_copy_to(src, FALSE, flavour, oocnotes, FALSE)
visible_message(span_notify("[src] adopts a new form!"), span_danger("You have reformed."))