mirror of
https://github.com/GreenComfyTea/MHR-Overlay.git
synced 2026-01-25 21:08:07 -08:00
Dont highlight if dps/damage is 0
This commit is contained in:
@@ -169,8 +169,8 @@ function damage_UI_entity.draw(player, position_on_screen, opacity_scale, top_da
|
|||||||
local dps_label = player.damage_UI.dps_label;
|
local dps_label = player.damage_UI.dps_label;
|
||||||
|
|
||||||
if player.type ~= players.types.total then
|
if player.type ~= players.types.total then
|
||||||
if (cached_config.settings.highlighted_bar == "Top Damage" and player.display.total_damage == top_damage) or
|
if (cached_config.settings.highlighted_bar == "Top Damage" and player.display.total_damage == top_damage and top_damage ~= 0) or
|
||||||
(cached_config.settings.highlighted_bar == "Top DPS" and player.dps == top_dps) then
|
(cached_config.settings.highlighted_bar == "Top DPS" and player.dps == top_dps and top_dps ~= 0) then
|
||||||
bar = players.highlighted_damage_UI.bar;
|
bar = players.highlighted_damage_UI.bar;
|
||||||
name_label = players.highlighted_damage_UI.name_label;
|
name_label = players.highlighted_damage_UI.name_label;
|
||||||
hunter_rank_label = players.highlighted_damage_UI.hunter_rank_label;
|
hunter_rank_label = players.highlighted_damage_UI.hunter_rank_label;
|
||||||
|
|||||||
Reference in New Issue
Block a user