Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CBA_fnc_dropWeapon errors if no magazines for weapon #1261

Closed
luckyspoon opened this issue Nov 30, 2019 · 1 comment · Fixed by #1262
Closed

CBA_fnc_dropWeapon errors if no magazines for weapon #1261

luckyspoon opened this issue Nov 30, 2019 · 1 comment · Fixed by #1262
Labels
Milestone

Comments

@luckyspoon
Copy link

If you call dropWeapon on a weapon for which the unit has no magazines, it throws an error.

20191130162914_1

luckyspoon added a commit to luckyspoon/CBA_A3 that referenced this issue Nov 30, 2019
@commy2
Copy link
Contributor

commy2 commented Nov 30, 2019

The function should be rewritten anyway to make use of https://community.bistudio.com/wiki/addWeaponWithAttachmentsCargoGlobal

@commy2 commy2 added this to the 3.14 milestone Nov 30, 2019
@commy2 commy2 added the Bug label Nov 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants