mirror of
https://github.com/GreenComfyTea/MHR-Overlay.git
synced 2026-01-26 05:18:06 -08:00
Fix Highlighted Damage UI not being initialized
This commit is contained in:
@@ -57,6 +57,10 @@ function players.new(id, name, master_rank, hunter_rank, type)
|
|||||||
|
|
||||||
players.init_UI(player);
|
players.init_UI(player);
|
||||||
|
|
||||||
|
if players.highlighted_damage_UI == nil then
|
||||||
|
players.init_highlighted_UI();
|
||||||
|
end
|
||||||
|
|
||||||
return player;
|
return player;
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
@@ -80,7 +80,6 @@ function damage_meter_UI.draw()
|
|||||||
position_on_screen = screen.calculate_absolute_coordinates(cached_config.position);
|
position_on_screen = screen.calculate_absolute_coordinates(cached_config.position);
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
for _, player in ipairs(quest_players) do
|
for _, player in ipairs(quest_players) do
|
||||||
|
|
||||||
if player.display.total_damage == 0 and cached_config.settings.hide_player_if_player_damage_is_zero then
|
if player.display.total_damage == 0 and cached_config.settings.hide_player_if_player_damage_is_zero then
|
||||||
|
|||||||
Reference in New Issue
Block a user