Hide otomos on screen end when option has been toggled

This commit is contained in:
GreenComfyTea
2023-01-14 15:07:45 +02:00
parent b321896eeb
commit 667be5793e

View File

@@ -99,6 +99,18 @@ function damage_meter_UI.draw()
if cached_config.settings.hide_other_players then
goto continue
end
elseif player.type == players.types.my_otomo then
if not cached_config.settings.show_my_otomos_separately then
goto continue
end
elseif player.type == players.types.other_player_otomo then
if not cached_config.settings.show_other_player_otomos_separately then
goto continue
end
elseif player.type == players.types.servant_otomo then
if not cached_config.settings.show_servant_otomos_separately then
goto continue
end
end
players.draw(player, position_on_screen, 1, top_damage, top_dps);