CBATeam / CBA_A3

Community Base Addons for Arma 3
https://github.com/CBATeam/CBA_A3/wiki
GNU General Public License v2.0
364 stars 151 forks source link

Common - Update `CBA_fnc_selectWeapon` #1677

Closed johnb432 closed 1 month ago

johnb432 commented 2 months ago

When merged this pull request will:

johnb432 commented 2 months ago

Hold on merging for a second, I should reject "" as a weapon at the start (otherwise it returns true).

johnb432 commented 2 months ago

When passing "" as _weapon, it holsters the weapon. This updated version doesn't, I'll need to take care of that.

johnb432 commented 2 months ago

@PabstMirror I believe that should have done the trick.