Update reactor.lua

This commit is contained in:
StormFusions
2025-02-28 02:43:16 +00:00
parent 93a620eee9
commit a9add85690
+1 -1
View File
@@ -468,7 +468,7 @@ end
function drawUpdatedText(x, y, label, value, color) function drawUpdatedText(x, y, label, value, color)
local key = label local key = label
if lastValues[key] ~= value then if lastValues[key] ~= value then
f.draw_text_lr(mon, x, y, 3, " ", " ", colors.white, color, 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) f.draw_text_lr(mon, x, y, 3, label, value, colors.white, color, colors.black)
lastValues[key] = value lastValues[key] = value
end end