mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-23 12:08:28 +01:00
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:
co-authored by
Kashargul
parent
736fe6ef28
commit
d73f6b8dbd
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user