From e63d79ec5c6a16595a8c5b606467147c9845f4aa Mon Sep 17 00:00:00 2001 From: ZomgPonies Date: Mon, 16 Jun 2014 22:01:15 -0400 Subject: [PATCH] Revert "Fixes the vending machine bug?" This reverts commit 63cd2120089e346e9eae15f0c0a5a71795898a65. --- code/game/machinery/vending.dm | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/code/game/machinery/vending.dm b/code/game/machinery/vending.dm index 4b952715a89..17fbf4dc3a5 100644 --- a/code/game/machinery/vending.dm +++ b/code/game/machinery/vending.dm @@ -177,7 +177,7 @@ return else if(istype(W, /obj/item/weapon/wrench)) - + if(do_after(user, 20)) if(!src) return playsound(src.loc, 'sound/items/Ratchet.ogg', 100, 1) @@ -189,7 +189,7 @@ user.visible_message("[user] unfastens the bolts securing \the [src] to the floor.", "You unfasten the bolts securing \the [src] to the floor.") anchored = 0 return - + else if(src.panel_open) for(var/datum/data/vending_product/R in product_records) if(istype(W, R.product_path)) @@ -414,7 +414,6 @@ src.add_fingerprint(usr) src.updateUsrDialog() else - usr.unset_machine() usr << browse(null, "window=vending") return return