mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 02:09:41 +00:00
Fix do_after on pipes (#11958)
This commit is contained in:
@@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
playsound(src, W.usesound, 50, 1)
|
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( \
|
user.visible_message( \
|
||||||
span_infoplain(span_bold("\The [user]") + " unfastens \the [src]."), \
|
span_infoplain(span_bold("\The [user]") + " unfastens \the [src]."), \
|
||||||
span_notice("You have unfastened \the [src]."), \
|
span_notice("You have unfastened \the [src]."), \
|
||||||
|
|||||||
Reference in New Issue
Block a user