mirror of
https://repo.or.cz/minetest_hudbars.git
synced 2024-08-20 05:04:12 +02:00
Only affect health- and breathbar in hide_buildin
... and leave other HUD elements in peace.
This commit is contained in:
parent
ea9a303e48
commit
357229450c
2
init.lua
2
init.lua
@ -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
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user