mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-11-26 04:21:07 +01:00
Fixed a code branch never being run
This commit is contained in:
parent
1857341b59
commit
589de76613
1 changed files with 1 additions and 1 deletions
|
@ -148,7 +148,7 @@ minetest.register_globalstep(function(dtime)
|
|||
local player_health = player:get_hp()
|
||||
local max_tick_timer = tonumber(minetest.settings:get("mcl_health_regen_delay")) or 0.5
|
||||
|
||||
if food_tick_timer > max_tick_timer then
|
||||
if food_tick_timer > 4 then
|
||||
food_tick_timer = 0
|
||||
|
||||
-- let hunger work always
|
||||
|
|
Loading…
Reference in a new issue