diff --git a/stones.lua b/stones.lua index 7c40d89..856931c 100644 --- a/stones.lua +++ b/stones.lua @@ -87,7 +87,8 @@ local function reg(name, basename, basedef) fixed = {-5/16, -8/16, -5/16, 5/16, -2/16, 5/16} } - minetest.register_node(":" .. modname .. ":territory_" .. string_lower(name), { + local territory_name = modname .. ":territory_" .. string_lower(name) + minetest.register_node(":" .. territory_name, { description = "Stop Stone", drawtype = "nodebox",