mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2025-03-22 22:12:30 +01:00
Fixed a code branch never being run
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user