diff options
author | Wuzzy <almikes@aol.com> | 2015-02-12 05:07:00 +0100 |
---|---|---|
committer | Wuzzy <almikes@aol.com> | 2015-02-12 05:07:00 +0100 |
commit | 65c8702e6466c70677ad3f5bd9be1858441fec30 (patch) | |
tree | abbb2e363f24b5945cae027ecb8d4d9ace57c8c8 /init.lua | |
parent | b0eabd3c7a1cb49d7393e60d91c9e9e61602f636 (diff) |
Fix bad initial breath value of 11
Diffstat (limited to 'init.lua')
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -270,7 +270,7 @@ end local function custom_hud(player) if minetest.setting_getbool("enable_damage") then hb.init_hudbar(player, "health", player:get_hp()) - hb.init_hudbar(player, "breath", player:get_breath()) + hb.init_hudbar(player, "breath", math.min(player:get_breath(), 10)) end end |