fixes chair dismantling being reversed (#12841)

Co-authored-by: TGW <mc-casper@hotmail.dk>
Co-authored-by: Werner <1331699+Arrow768@users.noreply.github.com>
This commit is contained in:
Casper3667
2021-12-19 05:10:34 +01:00
committed by GitHub
parent c5a2e76a90
commit 65ef181428
2 changed files with 7 additions and 1 deletions
@@ -213,7 +213,7 @@
/obj/structure/bed/dismantle(obj/item/W, mob/user)
playsound(src.loc, W.usesound, 50, 1)
user.visible_message("<b>[user]</b> begins dismantling \the [src].", SPAN_NOTICE("You begin dismantling \the [src]."))
if(!do_after(user, 20 / W.toolspeed))
if(do_after(user, 20 / W.toolspeed))
user.visible_message("\The [user] dismantles \the [src].", SPAN_NOTICE("You dismantle \the [src]."))
if(padding_material)
padding_material.place_sheet(get_turf(src))