mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
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:
parent
08eadc7c19
commit
0e043e5fb7
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user