Forgot to remove the version and fixed the clear line monitor

This commit is contained in:
StormFusions
2025-02-28 02:39:35 +00:00
parent 41500305c2
commit 93a620eee9
+1 -2
View File
@@ -149,7 +149,6 @@ end
function save_config()
sw = fs.open("reactorconfig.txt", "w")
sw.writeLine(version)
sw.writeLine(autoInputGate)
sw.writeLine(curInputGate)
sw.close()
@@ -469,7 +468,7 @@ end
function drawUpdatedText(x, y, label, value, color)
local key = label
if lastValues[key] ~= value then
f.draw_text(mon, x, y, " ", colors.white, colors.black)
f.draw_text_lr(mon, x, y, 3, " ", " ", colors.white, color, colors.black)
f.draw_text_lr(mon, x, y, 3, label, value, colors.white, color, colors.black)
lastValues[key] = value
end