Fix hotkeys not saving

This commit is contained in:
GreenComfyTea
2023-06-30 13:58:05 +03:00
parent 0992b918a3
commit b5757e3b1e
2 changed files with 2 additions and 1 deletions

View File

@@ -353,7 +353,7 @@ function this.update()
if new_hotkey_registered then
config.save();
config.save_current();
else
this.check_hotkeys(hard_keyboard);
end

View File

@@ -165,6 +165,7 @@ function this.draw(dynamic_enabled, static_enabled, highlighted_enabled)
customization_menu.status = string.format("[%s] Highlighted Large Monster drawing function threw an exception");
end
end
if static_enabled then
local success = pcall(this.draw_static, displayed_monsters, highlighted_monster, cached_config);
if not success then