From 3dcb228387956e2cb97c73ce3f5355f5f4dcab3a Mon Sep 17 00:00:00 2001 From: michael Date: Sun, 4 Oct 2026 09:28:46 -0400 Subject: [PATCH] =?UTF-8?q?debug:=20OMNI-GATES=20one-line=20un-gated=20sta?= =?UTF-8?q?tus=20banner=20per=20mission=20(class/companion/skull/mode/togg?= =?UTF-8?q?les/debug=20as=20the=20mod=20actually=20reads=20them)=20?= =?UTF-8?q?=E2=80=94=20settles=20'was=20debug=20really=20on=20/=20did=20th?= =?UTF-8?q?e=20class=20gates=20open'=20without=20any=20debug=20requirement?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AutoMark/scripts/mods/AutoMark/AutoMark.lua | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/AutoMark/scripts/mods/AutoMark/AutoMark.lua b/AutoMark/scripts/mods/AutoMark/AutoMark.lua index c7b0b01..9a40af1 100644 --- a/AutoMark/scripts/mods/AutoMark/AutoMark.lua +++ b/AutoMark/scripts/mods/AutoMark/AutoMark.lua @@ -710,6 +710,11 @@ mod:hook_safe(CLASS.PlayerUnitSmartTargetingExtension, "fixed_update", return end + if not mod.omni_gates_banner_done then + mod.omni_gates_banner_done = true + local game_mode_manager = Managers.state.game_mode + mod:diag(string.format("OMNI-GATES class=%s companion=%s skull=%s mode=%s valid=%s toggle=%s debug=%s", tostring(context.class_name), tostring(context.has_companion), tostring(context.has_servo_skull), game_mode_manager and tostring(game_mode_manager:game_mode_name()) or "nil", tostring(context.game_mode_valid), tostring(mod_settings.toggle_mod), tostring(mod_settings.debug_mode))) + end if mod_settings.toggle_mod and context.game_mode_valid then mod.num_visibility_checks_this_frame = 0 clean_expired_units(t)