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