From a65299be26b4545319630528093eafa42f48e090 Mon Sep 17 00:00:00 2001 From: templeofshadow Date: Tue, 30 Jun 2026 00:09:40 -0500 Subject: [PATCH] fix an issue with populateThrusterValues? idk how this regression happened... --- main.lua | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/main.lua b/main.lua index 546713e..3a5427f 100644 --- a/main.lua +++ b/main.lua @@ -410,11 +410,11 @@ local function populateThrusterValues() thruster.power = thruster.thruster.getPower() elseif thruster.type == "rotator" then if thruster.transmission ~= nil then - local transmissionType = peripheral.getType(thruster.transmission) + local transmissionType = peripheral.getType(peripheral.wrap(thruster.transmission)) if transmissionType == "analog_transmission" then - thruster.power = (thruster.transmission.getSignal())/15 + thruster.power = (peripheral.wrap(thruster.transmission).getSignal())/15 elseif transmissionType == "Create_RotationSpeedController" then - thruster.power = (thruster.transmission.getTargetSpeed())/256 + thruster.power = (peripheral.wrap(thruster.transmission).getTargetSpeed())/256 end else print("ERROR: Thruster "..peripheral.getName(thruster.thruster).." has no transmission.")