made variables global
This commit is contained in:
parent
d3e05321c5
commit
0a8ce0e3b8
@ -72,8 +72,8 @@ function lever_input()
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local output_state = redstone.getInput("back")
|
output_state = redstone.getInput("back")
|
||||||
local lever_state = redstone.getInput("top")
|
lever_state = redstone.getInput("top")
|
||||||
|
|
||||||
local sides = peripheral.getNames()
|
local sides = peripheral.getNames()
|
||||||
for i = 1, #sides do
|
for i = 1, #sides do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user