mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-07-19 02:56:14 +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:
@@ -20,7 +20,7 @@
|
||||
if(P.has_tool_quality(TOOL_WIRECUTTER))
|
||||
playsound(src, P.usesound, 50, 1)
|
||||
to_chat(user, span_notice("You start to cut the plastic flaps."))
|
||||
if(do_after(user, 10 * P.toolspeed))
|
||||
if(do_after(user, 1 SECOND * P.toolspeed, target = src))
|
||||
to_chat(user, span_notice("You cut the plastic flaps."))
|
||||
new /obj/item/stack/material/plastic(src.loc, 4)
|
||||
qdel(src)
|
||||
|
||||
Reference in New Issue
Block a user