fix(hotkey_service): duplicate key overwrite (#643)

This commit is contained in:
Yimura
2022-11-26 22:12:21 +01:00
committed by GitHub
parent cab25b12f7
commit 4a22a997c5
6 changed files with 38 additions and 11 deletions

View File

@ -42,6 +42,9 @@ namespace big
if (ImGui::Hotkey("Teleport to objective", &g->settings.hotkeys.teleport_objective))
g_hotkey_service->update_hotkey("objective", g->settings.hotkeys.teleport_objective);
if (ImGui::Hotkey("Toggle Noclip", &g->settings.hotkeys.noclip))
g_hotkey_service->update_hotkey("noclip", g->settings.hotkeys.noclip);
ImGui::PopItemWidth();