Make bandages give 6 points when used on flag holder (#691)
This commit is contained in:
parent
27f36d5d24
commit
58c64c8a83
1 changed files with 1 additions and 0 deletions
|
@ -91,6 +91,7 @@ minetest.override_item("ctf_bandages:bandage", {
|
||||||
|
|
||||||
if main and match then
|
if main and match then
|
||||||
local reward = 3
|
local reward = 3
|
||||||
|
if ctf_flag.has_flag(pname) then reward = 6 end
|
||||||
main.score = main.score + reward
|
main.score = main.score + reward
|
||||||
match.score = match.score + reward
|
match.score = match.score + reward
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue