Fix do_after on pipes (#11958)

This commit is contained in:
Cameron Lennox
2025-11-10 17:22:08 -05:00
committed by GitHub
parent 1de55ace15
commit 9439abd721

View File

@@ -35,7 +35,7 @@
playsound(src, W.usesound, 50, 1)
if (do_after(user, 10 * W.toolspeed))
if (do_after(user, 10 * W.toolspeed, target = src))
user.visible_message( \
span_infoplain(span_bold("\The [user]") + " unfastens \the [src]."), \
span_notice("You have unfastened \the [src]."), \