mod - hudbars - already set max hp at core
This commit is contained in:
parent
e9a6c74826
commit
e3c6aba6c1
@ -50,3 +50,6 @@ end
|
|||||||
hb.settings.hp_player_maximun = hb.load_setting("hudbars_hp_player_maximun", "number", 20)
|
hb.settings.hp_player_maximun = hb.load_setting("hudbars_hp_player_maximun", "number", 20)
|
||||||
hb.settings.br_player_maximun = hb.load_setting("hudbars_br_player_maximun", "number", 10)
|
hb.settings.br_player_maximun = hb.load_setting("hudbars_br_player_maximun", "number", 10)
|
||||||
|
|
||||||
|
if minetest.has_feature("object_use_texture_alpha") then
|
||||||
|
core.PLAYER_MAX_HP_DEFAULT = hb.settings.hp_player_maximun
|
||||||
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user