milo: reduce modem traffic

This commit is contained in:
kepler155c
2018-11-25 21:08:27 -05:00
parent c24def5d2e
commit 427006d2cb
2 changed files with 5 additions and 6 deletions

View File

@@ -33,7 +33,7 @@ end
local function compactList(list)
local c = { }
for k,v in pairs(list) do
c[k]= v.count .. ':' .. v.displayName
c[k]= table.concat({ v.has_recipe and 1 or 0, v.count, v.displayName }, ':')
end
return c
end