forked from mtcontrib/minetest_hbarmor
Activate automatic hiding
This commit is contained in:
parent
5947496935
commit
93f07df25e
3
init.lua
3
init.lua
@ -12,8 +12,7 @@ local armor_hud = {}
|
|||||||
hbarmor.tick = 0.1
|
hbarmor.tick = 0.1
|
||||||
|
|
||||||
-- If true, the armor bar is hidden when the player does not wear any armor
|
-- If true, the armor bar is hidden when the player does not wear any armor
|
||||||
-- FIXME: Currently hiding does not work, so it is turned off by default.
|
hbarmor.autohide = true
|
||||||
hbarmor.autohide = false
|
|
||||||
|
|
||||||
--load custom settings
|
--load custom settings
|
||||||
local set = io.open(minetest.get_modpath("hbarmor").."/hbarmor.conf", "r")
|
local set = io.open(minetest.get_modpath("hbarmor").."/hbarmor.conf", "r")
|
||||||
|
Loading…
Reference in New Issue
Block a user