diff --git a/mods/ctf/ctf_map/ctf_traps.lua b/mods/ctf/ctf_map/ctf_traps.lua index 0977f6d883..e511f0af53 100644 --- a/mods/ctf/ctf_map/ctf_traps.lua +++ b/mods/ctf/ctf_map/ctf_traps.lua @@ -182,7 +182,7 @@ minetest.register_node("ctf_map:reinforced_cobble", { local digger_team = ctf_teams.get(digger) if placer_team ~= digger_team then minetest.set_node(pos, {name = "ctf_map:reinforced_cobble_hardened"}) - local meta = minetest.get_meta(pos) + meta = minetest.get_meta(pos) meta:set_string("placer_team", placer_team) end end, @@ -211,7 +211,7 @@ minetest.register_node("ctf_map:reinforced_cobble_hardened", { local digger_team = ctf_teams.get(digger) if placer_team == digger_team then minetest.set_node(pos, {name = "ctf_map:reinforced_cobble"}) - local meta = minetest.get_meta(pos) + meta = minetest.get_meta(pos) meta:set_string("placer_team", placer_team) end end,