mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
remove unnecessary change
This commit is contained in:
parent
d00c9ca2a0
commit
c96a9daf7b
@ -35,7 +35,6 @@ private _containerMagazineCount = [];
|
||||
|
||||
{
|
||||
_x params ["_xMag", "_xTurret", "_xAmmo"];
|
||||
_magsToRemove pushBackUnique [_xMag, _xTurret];
|
||||
|
||||
private _carryMag = _xMag call FUNC(getCarryMagazine);
|
||||
if (_carryMag != "") then {
|
||||
@ -46,6 +45,7 @@ private _containerMagazineCount = [];
|
||||
TRACE_1("",_loadedMagAmmo);
|
||||
};
|
||||
if (_xAmmo > 0) then {
|
||||
_magsToRemove pushBackUnique [_xMag, _xTurret];
|
||||
private _index = _containerMagazineClassnames find _carryMag;
|
||||
if (_index < 0) then {
|
||||
_index = _containerMagazineClassnames pushBack _carryMag;
|
||||
|
Loading…
Reference in New Issue
Block a user