From 30d18e2762c4aa948470f420a76a8c506e13854e Mon Sep 17 00:00:00 2001 From: michael Date: Sun, 4 Oct 2026 08:52:40 -0400 Subject: [PATCH] feat: chat reminder whenever Debug Mode is switched on (file diagnostics grow silently otherwise) --- AutoMark/scripts/mods/AutoMark/AutoMark.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/AutoMark/scripts/mods/AutoMark/AutoMark.lua b/AutoMark/scripts/mods/AutoMark/AutoMark.lua index dbb9a98..c7b0b01 100644 --- a/AutoMark/scripts/mods/AutoMark/AutoMark.lua +++ b/AutoMark/scripts/mods/AutoMark/AutoMark.lua @@ -372,6 +372,12 @@ end -- Mod Setting Change mod.on_setting_changed = function(setting_id) + if setting_id == "debug_mode" then + if mod_settings.debug_mode then + mod:notify("AutoMark DEBUG ON: silent file diagnostics now write to mods/AutoMark/diag_log.txt and keep growing - remember to turn Debug Mode off when you are done!") + end + return + end local result = mod:get(setting_id) local class_name = mod:get("class_selection") -- Normal Mod Settings