mirror of
https://github.com/VOREStation/VOREStation.git
synced 2026-08-24 12:37:50 +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
@@ -45,7 +45,7 @@
|
||||
if(W.has_tool_quality(TOOL_SCREWDRIVER))
|
||||
to_chat(user, "You begin removing the faceplate from the [src]")
|
||||
playsound(src, W.usesound, 50, 1)
|
||||
if(do_after(user, 10 * W.toolspeed))
|
||||
if(do_after(user, 1 SECOND * W.toolspeed, target = src))
|
||||
to_chat(user, "You remove the faceplate from the [src]")
|
||||
var/obj/structure/frame/A = new /obj/structure/frame(loc)
|
||||
var/obj/item/circuitboard/M = new circuit(A)
|
||||
|
||||
Reference in New Issue
Block a user