fix: debug_chat/debug_hud/debug_hud_x/y were DEAD settings — AutoMark's mod.settings is a hand-built snapshot table (line ~27), every key must be listed explicitly; unlisted keys read nil at load AND on_setting_changed's nil-guard refuses live updates, so the toggles did nothing from day one. Registers all four keys. THE reason the HUD never showed
This commit is contained in:
@@ -25,6 +25,10 @@ local mod_settings = {
|
||||
toggle_mod_keybind = mod:get("toggle_mod_keybind") or {},
|
||||
toggle_mod_notify = mod:get("toggle_mod_notify") or false,
|
||||
debug_mode = mod:get("debug_mode") or false,
|
||||
debug_chat = mod:get("debug_chat") or false,
|
||||
debug_hud = mod:get("debug_hud") or false,
|
||||
debug_hud_x = mod:get("debug_hud_x") or 25,
|
||||
debug_hud_y = mod:get("debug_hud_y") or 0,
|
||||
companion_mark_keybind = mod:get("companion_mark_keybind") or {},
|
||||
companion_mark_ignore_unaggroed = mod:get("companion_mark_ignore_unaggroed") or false,
|
||||
companion_range_limitation = mod:get("companion_range_limitation") or 0,
|
||||
|
||||
Reference in New Issue
Block a user