mirror of
https://repo.or.cz/minetest_hudbars.git
synced 2025-06-29 15:00:27 +02:00
Only affect health- and breathbar in hide_buildin
... and leave other HUD elements in peace.
This commit is contained in:
2
init.lua
2
init.lua
@ -242,7 +242,7 @@ if set then
|
|||||||
end
|
end
|
||||||
|
|
||||||
local function hide_builtin(player)
|
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
|
end
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user