Remove unused variable from #1770

_inventoryMoney was unused @oiad
This commit is contained in:
ebaydayz
2016-10-02 14:11:20 -04:00
parent c4f861630d
commit 91f168011c
3 changed files with 6 additions and 9 deletions

View File

@@ -36,14 +36,13 @@ if (_canAfford) then {
// total currency
_total_currency = 0;
{
_part = (configFile >> "CfgMagazines" >> _x);
_worth = (_part >> "worth");
if isNumber (_worth) then {
_part = configFile >> "CfgMagazines" >> _x;
_worth = (_part >> "worth");
if (isNumber _worth) then {
if (([player,_part,1] call BIS_fnc_invRemove) == 1) then {
_total_currency = _total_currency + getNumber(_worth);
};
};
} count (magazines player);
//diag_log format["DEBUG TRADER INPUT CURRENCY TOTAL: %1", _total_currency];