From 1be250c8649a0dc5085ae1481885bf74ef517f76 Mon Sep 17 00:00:00 2001 From: GreenBlob Date: Tue, 28 Nov 2023 09:58:47 +0800 Subject: [PATCH] fix luacheck warning --- mods/ctf/ctf_map/ctf_traps.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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,