mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-01 23:33:46 +01:00
Fixed a code branch never being run
parent
1857341b59
commit
589de76613
@ -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 New Issue
Block a user