made variables global

This commit is contained in:
navid.sassan 2021-04-02 15:44:02 +02:00
parent d3e05321c5
commit 0a8ce0e3b8

View File

@ -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