Compare commits
No commits in common. "e23dbb3d802c947c9f7e7cf244cce676bbe78746" and "c1b3604a97ddd94d6396ae218e556b161de51f30" have entirely different histories.
e23dbb3d80
...
c1b3604a97
1 changed files with 2 additions and 2 deletions
|
@ -123,12 +123,12 @@ for name, def in pairs(registered_nodes) do
|
|||
local prefix = mod_prefixes[mod]
|
||||
if nodename and prefix and not (def.groups and def.groups.mortal) then
|
||||
-- HACK to preserve backwards compatibility
|
||||
local new_name = "ctf_map:" .. prefix .. nodename
|
||||
local new_name = ":ctf_map:" .. prefix .. nodename
|
||||
if def.drop == name then
|
||||
def.drop = new_name
|
||||
end
|
||||
make_immortal(def)
|
||||
minetest.register_node(":" .. new_name, def)
|
||||
minetest.register_node(new_name, def)
|
||||
if mod == "wool" then
|
||||
minetest.register_alias("ctf_map:" .. nodename, new_name)
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue