mirror of
https://github.com/GreenComfyTea/MHR-Overlay.git
synced 2026-01-24 12:28:03 -08:00
Fix myself being displayed in Damage Meter twice
This commit is contained in:
@@ -54,7 +54,7 @@ function damage_meter_UI.get_players(player_info_list)
|
||||
|
||||
local _player = player.get_player(player_id);
|
||||
if _player ~= nil then
|
||||
if player_id == player.myself.id and cached_config.settings.my_damage_bar_location ~= "Normal" then
|
||||
if _player == player.myself and cached_config.settings.my_damage_bar_location ~= "Normal" then
|
||||
goto continue;
|
||||
end
|
||||
table.insert(quest_players, _player);
|
||||
@@ -74,8 +74,6 @@ function damage_meter_UI.draw()
|
||||
return;
|
||||
end
|
||||
|
||||
|
||||
|
||||
local quest_players = {};
|
||||
if damage_meter_UI.freeze_displayed_players and damage_meter_UI.last_displayed_players ~= {} then
|
||||
quest_players = damage_meter_UI.last_displayed_players;
|
||||
|
||||
Reference in New Issue
Block a user