Rename savedLoadout to onLoadoutSave

This commit is contained in:
Josuan Albin
2017-11-01 01:34:24 +01:00
parent a136cef716
commit 379aada2a0

View File

@ -70,4 +70,4 @@ if (ctrlIDC _control == IDC_buttonSharedLoadouts) then {
profileNamespace setVariable [QGVAR(saved_loadouts), _data];
private _savedLoadout = (_data select {_x select 0 == _editBoxContent}) select 0;
[QGVAR(loadoutSaved), [_data find _savedLoadout, _savedLoadout select 1]] call CBA_fnc_localEvent;
[QGVAR(onLoadoutSave), [_data find _savedLoadout, _savedLoadout]] call CBA_fnc_localEvent;