Skip to content

Commit

Permalink
Adds a short do_after to unwrapping wrapped stuff (#10143)
Browse files Browse the repository at this point in the history
* does the thing

* Makes the do_after it's intended length oopsie
  • Loading branch information
JixS4v authored Nov 6, 2023
1 parent 8aae5ad commit 14c42f6
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions code/modules/recycling/sortingmachinery.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 14c42f6

Please sign in to comment.