[s] Fixed ORM exploit

This commit is contained in:
CitadelStationBot
2017-04-18 18:15:09 -05:00
parent 83cadc55d9
commit bc6c48d009
+1 -1
View File
@@ -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)