From 720fe159ea09ff6999e83da3c41c06544e98ee9e Mon Sep 17 00:00:00 2001 From: Claude Date: Sat, 1 Aug 2026 15:55:28 +0000 Subject: [PATCH] Disable enemy location hover tooltip when enemy_location_disabled is set The hover on the Round Score HUD element still showed the enemy's location popup even when the MLBa ruleset had enemy_location_disabled set to true. Early-return from the setup function to skip wiring hover/stop_hover when the flag is on. Co-Authored-By: Claude Opus 4.6 Claude-Session: https://claude.ai/code/session_01MuDBRvAF5nx9htEHCW2WqZ --- ui/game/enemy_location.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/ui/game/enemy_location.lua b/ui/game/enemy_location.lua index 12e37583..32731576 100644 --- a/ui/game/enemy_location.lua +++ b/ui/game/enemy_location.lua @@ -241,6 +241,7 @@ end G.FUNCS.mp_setup_hover_enemy_location_display = function(e) e.config.func = nil + if MP.LOBBY.config.enemy_location_disabled then return end e.states.collide.can = true e.states.hover.can = true