mirror of
https://github.com/MikaylaFischler/cc-mek-scada.git
synced 2024-08-30 18:22:34 +00:00
luacheck fixes
This commit is contained in:
parent
2b0a536292
commit
be560cd532
@ -3,7 +3,6 @@
|
||||
--
|
||||
|
||||
local util = require("scada-common.util")
|
||||
local log = require("scada-common.log")
|
||||
|
||||
local core = require("graphics.core")
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
-- Icon Indicator Graphics Element
|
||||
|
||||
local element = require("graphics.element")
|
||||
local util = require("scada-common.util")
|
||||
|
||||
---@class icon_sym_color
|
||||
---@field color cpair
|
||||
|
@ -674,10 +674,7 @@ function iocontrol.record_unit_data(data)
|
||||
local reactor_status = 1
|
||||
local rps_status = 1
|
||||
|
||||
if not unit.connected then
|
||||
-- disconnected
|
||||
reactor_status = 1
|
||||
else
|
||||
if unit.connected then
|
||||
-- update RPS status
|
||||
if unit.reactor_data.rps_tripped then
|
||||
control_status = 2
|
||||
|
Loading…
Reference in New Issue
Block a user