diff --git a/main.lua b/main.lua index 16fc735..1f4c342 100644 --- a/main.lua +++ b/main.lua @@ -25,7 +25,7 @@ end local function runDisplay() monitor.clear() - monitor.setTextScale(0.75) + monitor.setTextScale(0.90) while true do if(isWarningState or isCriticalState or isShutdownState) then monitor.setBackgroundColor(colors.red) diff --git a/turbine_driver.lua b/turbine_driver.lua index 46c57dc..da5f48c 100644 --- a/turbine_driver.lua +++ b/turbine_driver.lua @@ -14,7 +14,8 @@ end local function report() local color = color() monitor.setBackgroundColor(color) + value = getValue() monitor.clearLine() - monitor.write("Turbine Steam Filled: " .. getValue() .. "%") + monitor.write("Turbine Steam Filled: " .. value .. "%") end return { report = report, watch = watch } \ No newline at end of file