hopefully fix "too long without yielding" error for throttles

This commit is contained in:
2026-06-25 14:29:14 -05:00
parent 6668a99f28
commit f15b8dc2ef

View File

@@ -176,7 +176,8 @@ function ThrottleInit()
local initialStates = getRelayStates()
while true do
os.pullEvent("redstone")
local currentStates = getRelayStates()
for pname, currentState in pairs(currentStates) do
@@ -190,7 +191,6 @@ function ThrottleInit()
end
end
end
end
identifyThrottle("fore")
identifyThrottle("aft")