From 58c64c8a83d3da36a69819fd195776d9ba430b35 Mon Sep 17 00:00:00 2001 From: KaylebJay <44441970+KaylebJay@users.noreply.github.com> Date: Mon, 26 Oct 2020 18:56:49 -0600 Subject: [PATCH] Make bandages give 6 points when used on flag holder (#691) --- mods/ctf/ctf_classes/medic.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/mods/ctf/ctf_classes/medic.lua b/mods/ctf/ctf_classes/medic.lua index fa3e0a8..4d2c342 100644 --- a/mods/ctf/ctf_classes/medic.lua +++ b/mods/ctf/ctf_classes/medic.lua @@ -91,6 +91,7 @@ minetest.override_item("ctf_bandages:bandage", { if main and match then local reward = 3 + if ctf_flag.has_flag(pname) then reward = 6 end main.score = main.score + reward match.score = match.score + reward