Give medic 2 points per bandage (#682)

This commit is contained in:
-sniper- (minetest) 2020-10-08 22:49:40 +02:00 committed by GitHub
parent 88e26cf561
commit 4d59d763ab
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -82,7 +82,7 @@ minetest.override_item("ctf_bandages:bandage", {
if hp > 0 and hp < limit and ctf_classes.get(user).name == "medic" then
local main, match = ctf_stats.player(name)
if main and match then
local reward = 1
local reward = 2
main.score = main.score + reward
match.score = match.score + reward