Trade counter was incorrectly returning number of output items

This commit is contained in:
[VB]AWOL
2014-02-10 11:09:46 -06:00
parent 8f78dd9ba7
commit 46812d8ded

View File

@@ -218,8 +218,6 @@ if (_canDo) then {
player addMagazine _itemOut; player addMagazine _itemOut;
}; };
_tradeComplete = _tradeComplete+1;
_textCreate = getText(configFile >> "CfgMagazines" >> _itemOut >> "displayName"); _textCreate = getText(configFile >> "CfgMagazines" >> _itemOut >> "displayName");
// Add crafted item // Add crafted item
@@ -228,6 +226,8 @@ if (_canDo) then {
sleep 1; sleep 1;
} forEach _selectedRecipeOutput; } forEach _selectedRecipeOutput;
_tradeComplete = _tradeComplete+1;
}; };
} else { } else {