Allow for creation of stacks with amount = 0

This commit is contained in:
alex-gh
2013-11-13 18:33:57 +01:00
parent 7e6d629535
commit 2c2dfdc820
+1 -1
View File
@@ -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