Integration of last merges changes

This commit is contained in:
Danielv123 committed 2016-08-13 15:54:01 +02:00
1 parent a25d3be98d
commit 5bbb961f54
5 files changed
+19 -16

No files matched your search

+1 -1
View File
@@ -76,7 +76,7 @@ function HandleInputChests()
local items = v.get_inventory(defines.inventory.chest).get_contents()
--write everything to the file
for itemName, itemCount in pairs(items) do
linesToWriteToFile[#linesToWriteToFile + 1] = itemName..", "..itemCount.."\n"
linesToWriteToFile[#linesToWriteToFile + 1] = itemName.. " " ..itemCount.."\n"
end
-- clear the inventory
v.get_inventory(defines.inventory.chest).clear()