remove os.pullEvent call in ThrottleInit
This commit is contained in:
2
main.lua
2
main.lua
@@ -158,8 +158,6 @@ function ThrottleInit()
|
|||||||
local initialStates = getRelayStates()
|
local initialStates = getRelayStates()
|
||||||
|
|
||||||
while true do
|
while true do
|
||||||
os.pullEvent("redstone_relay")
|
|
||||||
|
|
||||||
local currentStates = getRelayStates()
|
local currentStates = getRelayStates()
|
||||||
|
|
||||||
for pname, currentState in pairs(currentStates) do
|
for pname, currentState in pairs(currentStates) do
|
||||||
|
|||||||
Reference in New Issue
Block a user