Merge remote-tracking branch 'upstream/master'

This commit is contained in:
Sys Quatre 2020-10-17 13:38:22 +02:00
commit 7b8b37a061
1 changed files with 1 additions and 1 deletions

View File

@ -240,7 +240,7 @@ local function sprint_step(player, dtime)
if (player_stamina > 0 and hunger > starve_limit and ground) or fast then
start_sprint(player)
if stamina and not fast then drain_stamina(player) end
if starve then drain_hunger(player, name) end
if starve and not fast then drain_hunger(player, name) end
if breath and not fast and breath_timer[name] >= 2 then
drain_breath(player)
breath_timer[name] = 0