From ff0bd76efece4738ed6ba406460859a4d1e7cd8e Mon Sep 17 00:00:00 2001 From: DS Date: Tue, 31 Oct 2017 22:50:39 +0100 Subject: Set is_ground_content to false (#386) --- mesecons_button/init.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mesecons_button') diff --git a/mesecons_button/init.lua b/mesecons_button/init.lua index 89f0355..104fc5b 100644 --- a/mesecons_button/init.lua +++ b/mesecons_button/init.lua @@ -25,6 +25,7 @@ minetest.register_node("mesecons_button:button_off", { }, paramtype = "light", paramtype2 = "facedir", + is_ground_content = false, legacy_wallmounted = true, walkable = false, on_rotate = mesecon.buttonlike_onrotate, @@ -68,6 +69,7 @@ minetest.register_node("mesecons_button:button_on", { }, paramtype = "light", paramtype2 = "facedir", + is_ground_content = false, legacy_wallmounted = true, walkable = false, on_rotate = false, -- cgit v1.2.3