added a break in populateThrusterValues to break out of loop when transmission is found

This commit is contained in:
2026-06-29 20:31:33 -05:00
parent b431e1a0a6
commit a508fbad58

View File

@@ -394,6 +394,7 @@ local function populateThrusterValues()
if transmission.getSelfId() == subnetworkId then
if Config.Debug then print("DEBUG: Detected that thruster "..thruster.name.." is connected to transmission "..peripheral.getName(transmission)) end
thruster.transmission = peripheral.getName(transmission)
break
elseif Config.Debug then
print("DEBUG: Comparison inequal")
end