forked from VoxeLibre/VoxeLibre
Fixed hudbar crash on mp player join (hopefully)
This commit is contained in:
parent
cc4e4f9791
commit
2060cec699
|
@ -425,6 +425,7 @@ function hb.hide_hudbar(player, identifier)
|
|||
local name = player:get_player_name()
|
||||
local hudtable = hb.get_hudtable(identifier)
|
||||
if hudtable == nil then return false end
|
||||
if hudtable.hudstate[name] == nil then return false end
|
||||
if hudtable.hudstate[name].hidden == true then return true end
|
||||
if hb.settings.bar_type == "progress_bar" then
|
||||
if hudtable.hudids[name].icon then
|
||||
|
|
Loading…
Reference in New Issue