From 667be5793e6de593a95b704d10c8d40a360c6e3e Mon Sep 17 00:00:00 2001 From: GreenComfyTea Date: Sat, 14 Jan 2023 15:07:45 +0200 Subject: [PATCH] Hide otomos on screen end when option has been toggled --- .../MHR_Overlay/UI/Modules/damage_meter_UI.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/reframework/autorun/MHR_Overlay/UI/Modules/damage_meter_UI.lua b/reframework/autorun/MHR_Overlay/UI/Modules/damage_meter_UI.lua index cd87748..d056a32 100644 --- a/reframework/autorun/MHR_Overlay/UI/Modules/damage_meter_UI.lua +++ b/reframework/autorun/MHR_Overlay/UI/Modules/damage_meter_UI.lua @@ -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);