mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-25 21:19:44 +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
@@ -64,7 +64,7 @@
|
||||
|
||||
/obj/structure/bed/pillowpile/attack_hand(mob/user)
|
||||
to_chat(user, span_notice("Now disassembling the large pillow pile..."))
|
||||
if(do_after(user, 30))
|
||||
if(do_after(user, 3 SECONDS, target = src))
|
||||
if(!src) return
|
||||
to_chat(user, span_notice("You dissasembled the large pillow pile!"))
|
||||
new sourcepillow(src.loc)
|
||||
@@ -72,7 +72,7 @@
|
||||
|
||||
/obj/structure/bed/pillowpilefront/attack_hand(mob/user)
|
||||
to_chat(user, span_notice("Now disassembling the front of the pillow pile..."))
|
||||
if(do_after(user, 30))
|
||||
if(do_after(user, 3 SECONDS, target = src))
|
||||
if(!src) return
|
||||
to_chat(user, span_notice("You dissasembled the the front of the pillow pile!"))
|
||||
new sourcepillow(src.loc)
|
||||
|
||||
Reference in New Issue
Block a user