Skip to content

Commit

Permalink
fix nuclear reactor digiline channel check
Browse files Browse the repository at this point in the history
fixes #146
  • Loading branch information
OgelGames committed Jan 12, 2021
1 parent c365103 commit 62d523e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion technic/machines/HV/nuclear_reactor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ local digiline_def = function(pos, _, channel, msg)
local meta = minetest.get_meta(pos)
if meta:get_string("enable_digiline") ~= "true" or
-- TODO: Remove "remote_channel" and use de facto standard "channel"
channel ~= meta:get("channel") or meta:get_string("remote_channel") then
channel ~= (meta:get("channel") or meta:get_string("remote_channel")) then
return
end
-- Convert string messages to tables:
Expand Down

0 comments on commit 62d523e

Please sign in to comment.