Update reactor.lua
This commit is contained in:
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user