color reactor coolant bars based on coolant type
This commit is contained in:
@@ -106,7 +106,9 @@ local function hbar(args)
|
||||
|
||||
-- re-draw
|
||||
last_num_bars = 0
|
||||
e.on_update(e.value)
|
||||
if type(e.value) == "number" then
|
||||
e.on_update(e.value)
|
||||
end
|
||||
end
|
||||
|
||||
-- set the percentage value
|
||||
|
||||
Reference in New Issue
Block a user