milo: UI cleanup

This commit is contained in:
kepler155c
2018-11-13 21:31:27 -05:00
parent 38777041d1
commit 8e9ca385d9
11 changed files with 77 additions and 30 deletions

View File

@@ -48,7 +48,11 @@ local function client(socket)
break
end
if data.request == 'list' then
if data.request == 'scan' then -- full scan of all inventories
local items = Milo:mergeResources(Milo:listItems(true))
socket:write(items)
elseif data.request == 'list' then
local items = Milo:mergeResources(Milo:listItems())
socket:write(items)