Skip to content

Commit

Permalink
Merge pull request #209 from gruppe-adler/bugfix-208
Browse files Browse the repository at this point in the history
fix #208 : bug in loadout export where WeaponUnderbarrel should be WeaponUnderbarrelMagazine
  • Loading branch information
b-mayr-1984 authored Mar 12, 2023
2 parents 4a0b4a4 + f304bd5 commit 7917545
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions addons/getLoadoutsFromUnits/functions/fnc_getWeapon.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ if !(_weaponArray isEqualTo []) then {
};

if ((_underbarrelMagazin isEqualType []) && {_underbarrelMagazin isNotEqualTo []} && {!isNil {_underbarrelMagazin select 0}})then {
_return pushBack (_tripleTab + format ["%1WeaponUnderbarrel = ""%2"";", _name, _underbarrelMagazin select 0]);
_return pushBack (_tripleTab + format ["%1WeaponUnderbarrelMagazine = ""%2"";", _name, _underbarrelMagazin select 0]);
};
/*
} else {
Expand All @@ -41,7 +41,7 @@ if !(_weaponArray isEqualTo []) then {
_tripleTab + format ["%1WeaponPointer = """";", _name],
_tripleTab + format ["%1WeaponMuzzle = """";", _name],
_tripleTab + format ["%1WeaponUnderbarrel = """";", _name],
_tripleTab + format ["%1WeaponUnderbarrel = """";", _name]
_tripleTab + format ["%1WeaponUnderbarrelMagazine = """";", _name]
];
*/
};
Expand Down

0 comments on commit 7917545

Please sign in to comment.