mirror of
https://github.com/LDDestroier/CC/
synced 2025-01-20 22:16:53 +00:00
Update wireless-rs.lua
This commit is contained in:
parent
d1d1776120
commit
0ba936eee7
@ -54,10 +54,12 @@ while true do
|
|||||||
inputSides[msg.side] = true
|
inputSides[msg.side] = true
|
||||||
occupiedSides[msg.side] = true
|
occupiedSides[msg.side] = true
|
||||||
occupiedSides[oppositeSides[msg.side]] = true
|
occupiedSides[oppositeSides[msg.side]] = true
|
||||||
|
redstone.setOutput(oppositeSides[msg.side], true)
|
||||||
elseif msg.cmd == "turnOff" then
|
elseif msg.cmd == "turnOff" then
|
||||||
inputSides[msg.side] = false
|
inputSides[msg.side] = false
|
||||||
occupiedSides[msg.side] = false
|
occupiedSides[msg.side] = false
|
||||||
occupiedSides[oppositeSides[msg.side]] = false
|
occupiedSides[oppositeSides[msg.side]] = false
|
||||||
|
redstone.setOutput(oppositeSides[msg.side], false)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user