From 1f27dc0cda308f5db6ffef5731d43e6352ea33fa Mon Sep 17 00:00:00 2001 From: templeofshadow Date: Mon, 29 Jun 2026 20:07:03 -0500 Subject: [PATCH] attempt another fix at transmission nil value population --- main.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.lua b/main.lua index 83c61b4..5158767 100644 --- a/main.lua +++ b/main.lua @@ -241,7 +241,7 @@ function PropellerInit() local propellers = {} for _, v in ipairs(TransmissionTypes) do - local vlist = peripheral.find(v) + local vlist = { peripheral.find(v) } if vlist ~= nil and vlist[1] ~= nil then table.insert(transmissions, vlist) end @@ -381,7 +381,7 @@ local function populateThrusterValues() if thruster.type == "rotator" and thruster.transmission == nil then local subnetworkId = peripheral.wrap(thruster.name).getSubnetworkAnchorId() for _, transmissionType in ipairs(TransmissionTypes) do - local transmissions = peripheral.find(transmissionType) + local transmissions = { peripheral.find(transmissionType) } if transmissions ~= nil and transmissions[1] ~= nil then for _, transmission in ipairs(transmissions) do if transmission.getSelfId() == subnetworkId then