-
Notifications
You must be signed in to change notification settings - Fork 149
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
Disposable - Updated cba_disposable_fnc_replaceMagazineCargo
#1662
Disposable - Updated cba_disposable_fnc_replaceMagazineCargo
#1662
Conversation
looks good overall, I don't understand the |
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
It does - I'm guessing that code was to stop that then. |
I think you should always get the number of shots the mission maker intended. So fill up the backpack if required. |
Currently nobody wants to change it, but if in future we want to modify this PR, then I would not revert the code to the old stuff. It didn't take into account if launchers could fit in uniforms or vests, which is probably rare but not impossible. |
cba_disposable_fnc_replaceMagazineCargo
Discussion in discord (https://discord.com/channels/976165959041679380/976228110078992456/1237139353650597908) concluded that the PR in its original form was not wanted. I made a new PR #1664 where only the fix is present. This PR now only brings the code up-to-date and also checks if launchers can fit in uniforms and vests and replaces them if possible. |
pushed a small change allowing us to keep the same args for
and the change in args might cause problems (even though it says |
I really feel that's a "them" problem. |
…go`" This reverts commit a089ba7.
The reason I added both the container and its type is because it doesn't work for uniforms and vests. If you do Usually launchers don't fit in uniforms and vests, but I'd prefer to be thorough and take every possibility into account. |
When merged this pull request will:
FUNC(replaceMagazineCargo)
.I think this case is rare, but it's technically possible so I think CBA should be able to handle it.