bug fixes for oop changes
This commit is contained in:
6
bricks/inputs/switch-init.lua
Normal file
6
bricks/inputs/switch-init.lua
Normal file
@@ -0,0 +1,6 @@
|
||||
|
||||
return function(gate)
|
||||
Gate.initdata(gate)
|
||||
local gatedata = Gate.getdata(gate)
|
||||
gatedata.switchstate = false
|
||||
end
|
||||
Reference in New Issue
Block a user