feat: add ragequit option + hotkey (#925)

This commit is contained in:
Johann
2023-02-01 19:48:50 +01:00
committed by GitHub
parent 0214d85edd
commit c25e7d3fad
5 changed files with 23 additions and 1 deletions

View File

@ -40,6 +40,8 @@ namespace big
g_hotkey_service->update_hotkey("invisveh", g.settings.hotkeys.invisveh);
if (ImGui::Hotkey("Toggle Local Veh Invisibility", &g.settings.hotkeys.localinvisveh))
g_hotkey_service->update_hotkey("localinvisveh", g.settings.hotkeys.localinvisveh);
if (ImGui::Hotkey("Rage Quit (Like Alt + F4)", &g.settings.hotkeys.fast_quit))
g_hotkey_service->update_hotkey("fastquit", g.settings.hotkeys.fast_quit);
ImGui::PopItemWidth();
}