1
0
mirror of https://repo.or.cz/minetest_hudbars.git synced 2025-05-07 03:10:24 +02:00

Only affect health- and breathbar in hide_buildin

... and leave other HUD elements in peace.
This commit is contained in:
Wuzzy 2015-02-12 04:40:30 +01:00
parent ea9a303e48
commit 357229450c

View File

@ -242,7 +242,7 @@ if set then
end
local function hide_builtin(player)
player:hud_set_flags({crosshair = true, hotbar = true, healthbar = false, wielditem = true, breathbar = false})
player:hud_set_flags({healthbar = false, breathbar = false})
end