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