Merge pull request #33318 from AutomaticFrenzy/patch/vendor

Fix vending machines nullspacing every item on init
This commit is contained in:
Jordan Brown
2017-12-06 23:48:15 -05:00
committed by CitadelStationBot
parent e7e9a4cc9b
commit 8f71b88a87
+1 -1
View File
@@ -138,7 +138,7 @@
if(isnull(amount))
amount = 0
var/atom/temp = new typepath(null)
var/atom/temp = typepath
var/datum/data/vending_product/R = new /datum/data/vending_product()
R.product_name = initial(temp.name)
R.product_path = typepath