mirror of
https://github.com/minetest-mods/mesecons.git
synced 2025-12-23 09:35:29 +01:00
Avoid most node copies
This commit is contained in:
@@ -34,6 +34,7 @@ minetest.register_node("mesecons_extrawires:corner_on", {
|
||||
mesecons = {conductor =
|
||||
{
|
||||
state = mesecon.state.on,
|
||||
const_node = true,
|
||||
rules = corner_get_rules,
|
||||
offstate = "mesecons_extrawires:corner_off"
|
||||
}},
|
||||
@@ -60,6 +61,7 @@ minetest.register_node("mesecons_extrawires:corner_off", {
|
||||
mesecons = {conductor =
|
||||
{
|
||||
state = mesecon.state.off,
|
||||
const_node = true,
|
||||
rules = corner_get_rules,
|
||||
onstate = "mesecons_extrawires:corner_on"
|
||||
}},
|
||||
|
||||
Reference in New Issue
Block a user