feat: chat reminder whenever Debug Mode is switched on (file diagnostics grow silently otherwise)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user