coordinator configurator bugfixes

This commit is contained in:
Mikayla Fischler 2024-02-20 19:33:14 -05:00
parent 158cc39b80
commit 910509d764
2 changed files with 3 additions and 3 deletions

View File

@ -498,7 +498,7 @@ local function config_view(display)
local function sv_skip()
tcd.abort(handle_timeout)
tool_ctl.sv_fac_conf = nil
tool_ctl.sv_cool_conf = nil
tool_ctl.net_listen = false
fac_pane.set_value(2)
end
@ -998,7 +998,7 @@ local function config_view(display)
local conf = tool_ctl.sv_cool_conf
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)}
for i = 1, #conf do

View File

@ -22,7 +22,7 @@ local sounder = require("coordinator.sounder")
local apisessions = require("coordinator.session.apisessions")
local COORDINATOR_VERSION = "v1.2.1"
local COORDINATOR_VERSION = "v1.2.2"
local println = util.println
local println_ts = util.println_ts