Remove undeclared global variable corner_nodebox

To avoid warning message at load time.
This commit is contained in:
Sys Quatre 2021-02-27 03:22:08 +01:00
parent 583d2c1441
commit 9b835053c2

View File

@ -30,7 +30,6 @@ minetest.register_node("mesecons_extrawires:corner_on", {
walkable = false, walkable = false,
sunlight_propagates = true, sunlight_propagates = true,
selection_box = corner_selectionbox, selection_box = corner_selectionbox,
node_box = corner_nodebox,
groups = {dig_immediate = 3, not_in_creative_inventory = 1}, groups = {dig_immediate = 3, not_in_creative_inventory = 1},
drop = "mesecons_extrawires:corner_off", drop = "mesecons_extrawires:corner_off",
sounds = default.node_sound_defaults(), sounds = default.node_sound_defaults(),
@ -58,7 +57,6 @@ minetest.register_node("mesecons_extrawires:corner_off", {
walkable = false, walkable = false,
sunlight_propagates = true, sunlight_propagates = true,
selection_box = corner_selectionbox, selection_box = corner_selectionbox,
node_box = corner_nodebox,
groups = {dig_immediate = 3}, groups = {dig_immediate = 3},
sounds = default.node_sound_defaults(), sounds = default.node_sound_defaults(),
mesecons = {conductor = mesecons = {conductor =