From a814306855ca94f40cc9ee49cf62a0aaa2de459c Mon Sep 17 00:00:00 2001 From: Thunder12345 Date: Mon, 17 Apr 2017 17:24:38 +0100 Subject: [PATCH] r-ree --- code/modules/mining/machine_redemption.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mining/machine_redemption.dm b/code/modules/mining/machine_redemption.dm index 4af7330641c..db0b400fdaa 100644 --- a/code/modules/mining/machine_redemption.dm +++ b/code/modules/mining/machine_redemption.dm @@ -235,7 +235,7 @@ var/obj/item/stack/sheet/out = new inp.type(src, 0, FALSE) var/desired = input("How many sheets?", "How many sheets to eject?", 1) as null|num out.amount = round(min(desired,50,inp.amount)) - if(out.amount) + if(out.amount >= 1) inp.amount -= out.amount unload_mineral(out) if(inp.amount < 1)