builder debug
This commit is contained in:
@@ -119,8 +119,12 @@ function supplyPage:enable(builder)
|
||||
|
||||
Event.addNamedTimer('supplyRefresh', 6, true, function()
|
||||
if self.enabled then
|
||||
debug('timer')
|
||||
self.builder:autocraft(self.builder:getSupplies())
|
||||
self:refresh()
|
||||
pcall(function()
|
||||
debug('refreshing')
|
||||
self:refresh()
|
||||
end)
|
||||
self.statusBar:timedStatus('Refreshed ', 2)
|
||||
self:sync()
|
||||
end
|
||||
@@ -129,6 +133,7 @@ function supplyPage:enable(builder)
|
||||
end
|
||||
|
||||
function supplyPage:disable()
|
||||
debug('canceling')
|
||||
Event.cancelNamedTimer('supplyRefresh')
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user