@ -380,7 +380,8 @@ local function stamina_globaltimer(dtime)
local name = player:get_player_name()
-- damage player by 1 hp if saturation is < 2 (of 30)
if h < STAMINA_STARVE_LVL then
if h < STAMINA_STARVE_LVL
and hp > 0 then
player:set_hp(hp - STAMINA_STARVE)
end