From 2c2dfdc82065db234134d79a67689e22d721b0c1 Mon Sep 17 00:00:00 2001 From: alex-gh Date: Wed, 13 Nov 2013 18:33:57 +0100 Subject: [PATCH] Allow for creation of stacks with amount = 0 --- code/game/objects/items/stacks/stack.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/items/stacks/stack.dm b/code/game/objects/items/stacks/stack.dm index 551213c7fb4..0b03feca28b 100644 --- a/code/game/objects/items/stacks/stack.dm +++ b/code/game/objects/items/stacks/stack.dm @@ -17,7 +17,7 @@ /obj/item/stack/New(var/loc, var/amount=null) ..() - if (amount) + if (amount!=null) //Allow for stacks with the amount=0 src.amount=amount return