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-08 02:25:08 +02:00
committed by GitHub
co-authored by Kashargul
parent 736fe6ef28
commit d73f6b8dbd
330 changed files with 682 additions and 690 deletions
+1 -1
View File
@@ -1543,7 +1543,7 @@
//set the verb based on matching (or mismatching) outfits, and teleport the flag back to base if it was touched by the owning team
if(grabbing_team == laser_team)
user.visible_message(span_warning("[user] is returning \the [src]!"))
if(do_after(user,flag_return_delay)) //channel return, rather than instant
if(do_after(user, flag_return_delay, target = src)) //channel return, rather than instant
user.drop_from_inventory(src)
src.loc = src.start_pos
GLOB.global_announcer.autosay("[capitalize(laser_team)] flag returned by [user]!","Laserdome Announcer","Entertainment")