Browse Source

Nerf bandages heal reward to 1 score/use

master
ANAND 2 years ago
parent
commit
10585d0663
  1. 2
      mods/ctf/ctf_classes/medic.lua
  2. 2
      update.sh

2
mods/ctf/ctf_classes/medic.lua

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

2
update.sh

@ -12,7 +12,7 @@ git submodule update --init --recursive
# Run build.sh
./build.sh ../games/capturetheflag
# Queue update
# Queue restart
if [[ -d ../worlds/ctf ]]; then
touch ../worlds/ctf/queue_restart.txt
fi

Loading…
Cancel
Save