milo: refresh on storage config change + rabbit + auto detect player name

This commit is contained in:
kepler155c
2018-11-21 22:05:04 -05:00
parent 0787cc7913
commit 7498276573
5 changed files with 85 additions and 56 deletions

View File

@@ -301,8 +301,9 @@ function Milo:saveResources()
end
-- Return a list of everything in the system
function Milo:listItems(forceRefresh)
return forceRefresh and self.context.storage:refresh() or self.context.storage:listItems()
function Milo:listItems(forceRefresh, throttle)
return forceRefresh and self.context.storage:refresh(throttle) or
self.context.storage:listItems(throttle)
end
return Milo