Update functions.lua

This commit is contained in:
Elkien3 2021-07-15 11:49:16 -05:00
parent f9c7ac96d4
commit d0999db49f

View File

@ -222,7 +222,7 @@ function thirsty.main_loop(dtime)
thirsty.hud_update(player, hydro) thirsty.hud_update(player, hydro)
-- damage, if enabled -- damage, if enabled
if minetest.settings.get_bool("enable_damage") then if minetest.settings:get_bool("enable_damage") then
-- maybe not the best way to do this, but it does mean -- maybe not the best way to do this, but it does mean
-- we can do anything with one tick loop -- we can do anything with one tick loop
if hydro <= 0.0 and not pl_afk then if hydro <= 0.0 and not pl_afk then