Nerf bandages heal reward to 1 score/use
This commit is contained in:
parent
eba079b30c
commit
10585d0663
2 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ minetest.override_item("ctf_bandages:bandage", {
|
||||||
if hp > 0 and hp < limit then
|
if hp > 0 and hp < limit then
|
||||||
local main, match = ctf_stats.player(name)
|
local main, match = ctf_stats.player(name)
|
||||||
if main and match then
|
if main and match then
|
||||||
local reward = 5
|
local reward = 1
|
||||||
main.score = main.score + reward
|
main.score = main.score + reward
|
||||||
match.score = match.score + reward
|
match.score = match.score + reward
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ git submodule update --init --recursive
|
||||||
# Run build.sh
|
# Run build.sh
|
||||||
./build.sh ../games/capturetheflag
|
./build.sh ../games/capturetheflag
|
||||||
|
|
||||||
# Queue update
|
# Queue restart
|
||||||
if [[ -d ../worlds/ctf ]]; then
|
if [[ -d ../worlds/ctf ]]; then
|
||||||
touch ../worlds/ctf/queue_restart.txt
|
touch ../worlds/ctf/queue_restart.txt
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue