mirror of
https://github.com/MikaylaFischler/cc-mek-scada.git
synced 2024-08-30 18:22:34 +00:00
coordinator configurator bugfixes
This commit is contained in:
parent
158cc39b80
commit
910509d764
@ -498,7 +498,7 @@ local function config_view(display)
|
|||||||
|
|
||||||
local function sv_skip()
|
local function sv_skip()
|
||||||
tcd.abort(handle_timeout)
|
tcd.abort(handle_timeout)
|
||||||
tool_ctl.sv_fac_conf = nil
|
tool_ctl.sv_cool_conf = nil
|
||||||
tool_ctl.net_listen = false
|
tool_ctl.net_listen = false
|
||||||
fac_pane.set_value(2)
|
fac_pane.set_value(2)
|
||||||
end
|
end
|
||||||
@ -998,7 +998,7 @@ local function config_view(display)
|
|||||||
local conf = tool_ctl.sv_cool_conf
|
local conf = tool_ctl.sv_cool_conf
|
||||||
fac_config_list.remove_all()
|
fac_config_list.remove_all()
|
||||||
|
|
||||||
local str = util.sprintf("Facility has %d reactor units:", #conf)
|
local str = util.sprintf("Facility has %d reactor unit%s:", #conf, util.trinary(#conf==1,"","s"))
|
||||||
TextBox{parent=fac_config_list,height=1,text=str,fg_bg=cpair(colors.gray,colors.white)}
|
TextBox{parent=fac_config_list,height=1,text=str,fg_bg=cpair(colors.gray,colors.white)}
|
||||||
|
|
||||||
for i = 1, #conf do
|
for i = 1, #conf do
|
||||||
|
@ -22,7 +22,7 @@ local sounder = require("coordinator.sounder")
|
|||||||
|
|
||||||
local apisessions = require("coordinator.session.apisessions")
|
local apisessions = require("coordinator.session.apisessions")
|
||||||
|
|
||||||
local COORDINATOR_VERSION = "v1.2.1"
|
local COORDINATOR_VERSION = "v1.2.2"
|
||||||
|
|
||||||
local println = util.println
|
local println = util.println
|
||||||
local println_ts = util.println_ts
|
local println_ts = util.println_ts
|
||||||
|
Loading…
Reference in New Issue
Block a user