mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Remove debug stuff
This commit is contained in:
parent
c8f320d501
commit
5b4fa6b503
@ -27,14 +27,12 @@ _ammoCount = _target ammo currentWeapon _target;
|
|||||||
// Exit if the belt is full or empty
|
// Exit if the belt is full or empty
|
||||||
if ((_ammoCount == 0) || (getNumber (_magazineCfg >> "count") - _ammoCount) == 0) exitWith {false};
|
if ((_ammoCount == 0) || (getNumber (_magazineCfg >> "count") - _ammoCount) == 0) exitWith {false};
|
||||||
|
|
||||||
// Check if the player has any of the same same magazines
|
// Check if the player has any of the same magazines
|
||||||
// Calculate max ammo
|
// Calculate max ammo
|
||||||
private "_maxAmmo";
|
private "_maxAmmo";
|
||||||
_maxAmmo = 0;
|
_maxAmmo = 0;
|
||||||
|
|
||||||
{
|
{
|
||||||
diag_log "filtered:";
|
|
||||||
diag_log _x;
|
|
||||||
_maxAmmo = _maxAmmo max (_x select 1);
|
_maxAmmo = _maxAmmo max (_x select 1);
|
||||||
} forEach ([magazinesAmmo _player, {_this select 0 == _magazineType}] call EFUNC(common,filter));
|
} forEach ([magazinesAmmo _player, {_this select 0 == _magazineType}] call EFUNC(common,filter));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user