From 5b4fa6b503b99fd2a741d3defd3418e85b4531b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Badano?= Date: Thu, 5 Mar 2015 22:52:37 -0300 Subject: [PATCH] Remove debug stuff --- addons/reload/functions/fnc_canLinkBelt.sqf | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/addons/reload/functions/fnc_canLinkBelt.sqf b/addons/reload/functions/fnc_canLinkBelt.sqf index 4b576865f1..b06a69fafa 100644 --- a/addons/reload/functions/fnc_canLinkBelt.sqf +++ b/addons/reload/functions/fnc_canLinkBelt.sqf @@ -27,14 +27,12 @@ _ammoCount = _target ammo currentWeapon _target; // Exit if the belt is full or empty 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 private "_maxAmmo"; _maxAmmo = 0; { - diag_log "filtered:"; - diag_log _x; _maxAmmo = _maxAmmo max (_x select 1); } forEach ([magazinesAmmo _player, {_this select 0 == _magazineType}] call EFUNC(common,filter));