svsessions bugfixes

This commit is contained in:
Mikayla Fischler 2022-09-05 16:23:03 -04:00
parent 4359cc3e63
commit e456d34468
3 changed files with 2 additions and 4 deletions

View File

@ -108,8 +108,6 @@ function coordinator.new_session(id, in_queue, out_queue, facility_units)
-- send unit statuses
local function _send_status()
self.acks.builds = false
local status = {}
for i = 1, #self.units do

View File

@ -342,7 +342,7 @@ function plc.new_session(id, for_reactor, in_queue, out_queue)
end
elseif pkt.type == RPLC_TYPES.RPS_STATUS then
-- RPS status packet received, copy data
if pkt.length == 7 then
if pkt.length == 9 then
local status = pcall(_copy_rps_status, pkt.data)
if status then
-- copied in RPS status data OK

View File

@ -13,7 +13,7 @@ local svsessions = require("supervisor.session.svsessions")
local config = require("supervisor.config")
local supervisor = require("supervisor.supervisor")
local SUPERVISOR_VERSION = "beta-v0.5.8"
local SUPERVISOR_VERSION = "beta-v0.5.9"
local print = util.print
local println = util.println