This reverts commit 49f4e6fd47
.
This commit is contained in:
parent
8315d0074a
commit
510ca896cd
6 changed files with 23 additions and 92 deletions
|
@ -117,7 +117,6 @@ minetest.register_globalstep(function(dtime)
|
|||
if pstat then
|
||||
local hp = player:get_hp()
|
||||
if hp < pstat.regen_max then
|
||||
ctf.add_heal_assist(name, regen_step)
|
||||
player:set_hp(math.min(hp + regen_step, pstat.regen_max))
|
||||
else
|
||||
stop_healing(player)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue