(feat) Add passive toggle switch button and hotkey (#2015)

* (fix) Disable looped "time to end passive" in weaponized vehicles
This commit is contained in:
Niuu
2023-08-24 22:56:35 +02:00
committed by GitHub
parent 5f1b13d0dc
commit e1a2ee21ea
5 changed files with 33 additions and 2 deletions

View File

@ -26,6 +26,8 @@ namespace big
g_hotkey_service->update_hotkey("bringpv", g.settings.hotkeys.bringvehicle);
if (ImGui::Hotkey("Toggle invisibility", &g.settings.hotkeys.invis))
g_hotkey_service->update_hotkey("invis", g.settings.hotkeys.invis);
if (ImGui::Hotkey("Toggle passive mode", &g.settings.hotkeys.passive))
g_hotkey_service->update_hotkey("passive", g.settings.hotkeys.passive);
if (ImGui::Hotkey("Heal", &g.settings.hotkeys.heal))
g_hotkey_service->update_hotkey("heal", g.settings.hotkeys.heal);
if (ImGui::Hotkey("Fill Snacks", &g.settings.hotkeys.fill_inventory))