feat(CustomWeapons): deactivate when weapon is holstered (#1231)

This commit is contained in:
Rxann
2023-04-15 17:17:43 -04:00
committed by GitHub
parent 8a9c6a22c0
commit 60e1c2e3c6
8 changed files with 21 additions and 13 deletions

View File

@ -111,6 +111,7 @@ namespace big
components::sub_title("CUSTOM_WEAPONS"_T);
ImGui::Checkbox("Custom Gun only fires when weapon is out", &g.self.custom_weapon_stop);
CustomWeapon selected = g.weapons.custom_weapon;
if (ImGui::BeginCombo("WEAPON"_T.data(), custom_weapons[(int)selected].name))