mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fix original array being modified in fillLoadoutsList
This commit is contained in:
@ -69,7 +69,7 @@ if (GVAR(currentLoadoutsTab) != IDC_buttonSharedLoadouts) then {
|
||||
if ((profileName + _loadoutName) in GVAR(sharedLoadoutsVars)) then {
|
||||
_contentListCtrl lnbSetText [[_newRow, 0], "X"];
|
||||
};
|
||||
} foreach ([_data, GVAR(defaultLoadoutsList)] select (ctrlIDC _control == IDC_buttonDefaultLoadouts));
|
||||
} foreach ([_data, +GVAR(defaultLoadoutsList)] select (ctrlIDC _control == IDC_buttonDefaultLoadouts));
|
||||
} else {
|
||||
|
||||
{
|
||||
|
Reference in New Issue
Block a user