diff options
author | cheapie <no-email-for-you@example.com> | 2017-01-14 03:32:19 -0600 |
---|---|---|
committer | cheapie <no-email-for-you@example.com> | 2017-01-14 03:32:19 -0600 |
commit | 61f3fdbdf405d4da548b735c66a8196415b4693d (patch) | |
tree | 62e2e3507ffd9d98d6e23a5d0166d976e779bbb3 | |
parent | 15625d1381be0e50bfe106c0d964dc2b9ee5c18d (diff) | |
download | ltc4000e-61f3fdbdf405d4da548b735c66a8196415b4693d.tar ltc4000e-61f3fdbdf405d4da548b735c66a8196415b4693d.tar.gz ltc4000e-61f3fdbdf405d4da548b735c66a8196415b4693d.tar.bz2 ltc4000e-61f3fdbdf405d4da548b735c66a8196415b4693d.tar.xz ltc4000e-61f3fdbdf405d4da548b735c66a8196415b4693d.zip |
Fix cabinet detection
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -236,7 +236,7 @@ local fw = loadfile(minetest.get_modpath("ltc4000e")..DIR_DELIM.."fw.lua") local function run(pos,event) --Determine controller type local node = minetest.get_node(pos) - local is_cabinet = (node.name == "ltc4000e:nema_bottom") + local is_cabinet = (node.name == "ltc4000e:nema_bottom" or node.name == "ltc4000e:nema_bottom_open") --Initialize environment local context = {} |