mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Arsenal - Fix saving loadouts on new profiles (#9523)
* fix * Fix unrelated TRACE macro in arsenal * Update addons/arsenal/functions/fnc_onArsenalOpen.sqf Co-authored-by: PabstMirror <pabstmirror@gmail.com> --------- Co-authored-by: PabstMirror <pabstmirror@gmail.com>
This commit is contained in:
parent
abb6519d6d
commit
b2b49cc993
@ -42,6 +42,10 @@ if (isNil QGVAR(defaultLoadoutsList)) then {
|
||||
};
|
||||
};
|
||||
|
||||
if (isNil {profileNamespace getVariable QGVAR(saved_loadouts)}) then {
|
||||
profileNamespace setVariable [QGVAR(saved_loadouts), []];
|
||||
};
|
||||
|
||||
if (isNil QGVAR(virtualItems)) then {
|
||||
private _virtualItems = [
|
||||
[IDX_VIRT_WEAPONS, createHashMapFromArray [[IDX_VIRT_PRIMARY_WEAPONS, createHashMap], [IDX_VIRT_SECONDARY_WEAPONS, createHashMap], [IDX_VIRT_HANDGUN_WEAPONS, createHashMap]]],
|
||||
|
@ -14,6 +14,6 @@
|
||||
*/
|
||||
|
||||
params ["", "_config"];
|
||||
TRACE_1("statTextStatement_magCount",_config)
|
||||
TRACE_1("statTextStatement_magCount",_config);
|
||||
|
||||
getNumber (_config >> "count");
|
||||
|
Loading…
Reference in New Issue
Block a user