fix quarry disabling via digiline not working
This commit is contained in:
parent
6929a646c5
commit
1686d89d15
@ -412,7 +412,7 @@ local function digiline_action(pos, _, channel, msg)
|
||||
dig_level = -(math.floor(meta:get_int("step") / num_steps) + 1),
|
||||
})
|
||||
elseif msg.command == "set" then
|
||||
if msg.enabled then
|
||||
if msg.enabled ~= nil then
|
||||
meta:set_int("enabled", msg.enabled == true and 1 or 0)
|
||||
end
|
||||
if msg.restart == true then
|
||||
|
Loading…
x
Reference in New Issue
Block a user