mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Remove trace from loadoutsLoad, add trace to shared and unshared EHs
This commit is contained in:
@ -23,6 +23,8 @@ GVAR(lastSearchTextRight) = "";
|
||||
[QGVAR(loadoutUnshared), {
|
||||
_x params ["_contentPanel" ,"_loadoutName"];
|
||||
|
||||
TRACE_3("loadoutUnshared EH", _contentPanel, _loadoutName, IDC_buttonSharedLoadouts);
|
||||
|
||||
if (!(isNil QGVAR(currentLoadoutsTab)) && {GVAR(currentLoadoutsTab) == IDC_buttonSharedLoadouts}) then {
|
||||
|
||||
for '_i' from 0 to (((lnbsize _contentPanel) select 0) - 1) do {
|
||||
@ -35,6 +37,8 @@ GVAR(lastSearchTextRight) = "";
|
||||
_x params ["_contentPanel" ,"_loadoutArgs"];
|
||||
_loadoutArgs params ["_playerName", "_loadoutName", "_loadoutData"];
|
||||
|
||||
TRACE_3("loadoutShared EH", _contentPanel, _loadoutsArgs, IDC_buttonSharedLoadouts);
|
||||
|
||||
if (!(isNil QGVAR(currentLoadoutsTab)) && {GVAR(currentLoadoutsTab) == IDC_buttonSharedLoadouts}) then {
|
||||
|
||||
private _curSelText =_contentPanel lnbData [(lnbCurSelRow _contentPanel), 1];
|
||||
|
@ -21,9 +21,6 @@ private _loadout = switch GVAR(currentLoadoutsTab) do {
|
||||
};
|
||||
};
|
||||
|
||||
TRACE_1("loadout load", _loadout);
|
||||
|
||||
|
||||
GVAR(center) setUnitLoadout [_loadout, true];
|
||||
|
||||
GVAR(currentItems) = ["", "", "", "", "", "", "", "", "", "", "", "", "", "", "", [], [], [], [], [], []];
|
||||
|
Reference in New Issue
Block a user