builder bug
This commit is contained in:
@@ -121,10 +121,15 @@ function supplyPage:enable(builder)
|
||||
|
||||
self.timer = Event.onInterval(6, function()
|
||||
if self.enabled then
|
||||
self.builder:autocraft(self.builder:getSupplies())
|
||||
self:refresh()
|
||||
self.statusBar:timedStatus('Refreshed ', 2)
|
||||
self:sync()
|
||||
local s, m = pcall(function()
|
||||
self.builder:autocraft(self.builder:getSupplies())
|
||||
self:refresh()
|
||||
self.statusBar:timedStatus('Refreshed ', 2)
|
||||
self:sync()
|
||||
end)
|
||||
if not s then -- not sure why it's erroring :(
|
||||
_G._debug(m)
|
||||
end
|
||||
end
|
||||
end)
|
||||
UI.Page.enable(self)
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
{
|
||||
title = 'CCEmuX peripheral management',
|
||||
repository = 'kepler155c/opus-apps/{{OPUS_BRANCH}}/ccemux',
|
||||
description = [[Peripheral management for CCEmuX]],
|
||||
description = [[Peripheral management for CCEmuX
|
||||
|
||||
Adds a tab in the System application for configuring peripherals.]],
|
||||
licence = 'MIT',
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user