mirror of
https://github.com/GreenComfyTea/MHR-Overlay.git
synced 2026-01-24 04:18:11 -08:00
Fix hotkeys not saving
This commit is contained in:
@@ -353,7 +353,7 @@ function this.update()
|
|||||||
|
|
||||||
|
|
||||||
if new_hotkey_registered then
|
if new_hotkey_registered then
|
||||||
config.save();
|
config.save_current();
|
||||||
else
|
else
|
||||||
this.check_hotkeys(hard_keyboard);
|
this.check_hotkeys(hard_keyboard);
|
||||||
end
|
end
|
||||||
|
|||||||
@@ -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");
|
customization_menu.status = string.format("[%s] Highlighted Large Monster drawing function threw an exception");
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
if static_enabled then
|
if static_enabled then
|
||||||
local success = pcall(this.draw_static, displayed_monsters, highlighted_monster, cached_config);
|
local success = pcall(this.draw_static, displayed_monsters, highlighted_monster, cached_config);
|
||||||
if not success then
|
if not success then
|
||||||
|
|||||||
Reference in New Issue
Block a user