builder bug

This commit is contained in:
kepler155c@gmail.com
2019-04-08 12:56:04 -04:00
parent a16510e254
commit c3b06e4854
2 changed files with 12 additions and 5 deletions

View File

@@ -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)

View File

@@ -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',
}