fix: change conditional so a magazine is added to turret when array is not modified (#8287)

Co-authored-by: Yannis Li <yannis@trybe.ly>
This commit is contained in:
Yannis Li 2021-07-24 01:20:17 -04:00 committed by GitHub
parent 08eadc7c19
commit 0e043e5fb7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,7 +74,7 @@ while {((count _ammoCounts) < _maxMagazines) && {_ammoToAdd > 0}} do {
_ammoToAdd = _ammoToAdd - _xAdd;
_ammoAdded = _ammoAdded + _xAdd;
_ammoCounts pushBack _xAdd;
if (!_arrayModified) then {
if (_arrayModified) then {
TRACE_1("adding new mag to array",_xAdd);
} else {
TRACE_1("adding new mag directly",_xAdd);