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