From 14c42f60fd7ce300895f16e120844a7c4227df21 Mon Sep 17 00:00:00 2001 From: JixS4v <61665800+JixS4v@users.noreply.github.com> Date: Mon, 6 Nov 2023 19:39:49 +0100 Subject: [PATCH] Adds a short do_after to unwrapping wrapped stuff (#10143) * does the thing * Makes the do_after it's intended length oopsie --- code/modules/recycling/sortingmachinery.dm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/code/modules/recycling/sortingmachinery.dm b/code/modules/recycling/sortingmachinery.dm index daab2e02868ab..d8211852e608d 100644 --- a/code/modules/recycling/sortingmachinery.dm +++ b/code/modules/recycling/sortingmachinery.dm @@ -13,8 +13,9 @@ RegisterSignal(src, COMSIG_MOVABLE_DISPOSING, PROC_REF(disposal_handling)) /obj/structure/big_delivery/interact(mob/user) - playsound(src.loc, 'sound/items/poster_ripped.ogg', 50, 1) - qdel(src) + if(do_after(user, 3, src, progress = TRUE)) + playsound(src.loc, 'sound/items/poster_ripped.ogg', 50, 1) + qdel(src) /obj/structure/big_delivery/Destroy() var/turf/T = get_turf(src)