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

Arsenal - Reuse current inventory containers when importing invalid loadouts #10364

Merged
merged 15 commits into from
Feb 5, 2025
Merged
Prev Previous commit
Next Next commit
MD Suggestion
Co-authored-by: Jouni Järvinen <[email protected]>
mrschick and rautamiekka authored Jan 26, 2025
commit 4af698eefefbb3c4a3603964cb7a74e4cd948920
2 changes: 1 addition & 1 deletion addons/arsenal/functions/fnc_recoverInvalidContainers.sqf
Original file line number Diff line number Diff line change
@@ -3,7 +3,7 @@
/*
* Author: mrschick
* Attempts to recover a loadout with invalid containers by substituting them for the currently worn containers.
* It is meant to be passed a loadout modified by [loadout, true] call ace_arsenal_fnc_verifyLoadout, nested in the format: [[_loadout, _extendedInfo], _nullItemsList, _unavailableItemsList, _missingExtendedInfo]
* It is meant to be passed a loadout modified by `[loadout, true] call ace_arsenal_fnc_verifyLoadout`, nested in the format: `[[_loadout, _extendedInfo], _nullItemsList, _unavailableItemsList, _missingExtendedInfo]`
*
* Arguments:
* 0: Unit from which to get valid (worn) containers <OBJECT>