Makes uses of do_after sane (#18334)

* Prevents insta-actions

* Do_after sanity

NOTE: NUKE do_after_action

* Update bonfire.dm

* The  rest of them

Also fixes a tpyo

* no minitest :)

* .

* .

* Gets rid of the slowdown for now

---------

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
Cameron Lennox
2025-09-07 20:25:08 -04:00
committed by GitHub
parent 736fe6ef28
commit d73f6b8dbd
330 changed files with 682 additions and 690 deletions
+2 -2
View File
@@ -180,7 +180,7 @@
if(M == user) // Once we determine if we can actually do a step at all, give a slight delay to self-surgery to confirm attempts.
to_chat(user, span_critical("You focus on attempting to perform surgery upon yourself."))
if(!do_after(user, 3 SECONDS, M))
if(!do_after(user, 3 SECONDS, target = M))
return 0
var/datum/surgery_step/selected_surgery
@@ -196,7 +196,7 @@
if(istype(selected_surgery,/datum/surgery_step/generic/amputate))
var/obj/item/organ/external/affected = M.get_organ(zone)
to_chat(user, span_danger("You are preparing to amputate \the [M]'s [affected.name]!"))
if(!do_after(user, 3 SECONDS, M))
if(!do_after(user, 3 SECONDS, target = M))
to_chat(user, span_warning("You reconsider performing an amputation..."))
return 0
// VOREstation edit end