mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 11:42:38 +03:00
Trade counter was incorrectly returning number of output items
This commit is contained in:
@@ -218,8 +218,6 @@ if (_canDo) then {
|
||||
player addMagazine _itemOut;
|
||||
};
|
||||
|
||||
_tradeComplete = _tradeComplete+1;
|
||||
|
||||
_textCreate = getText(configFile >> "CfgMagazines" >> _itemOut >> "displayName");
|
||||
|
||||
// Add crafted item
|
||||
@@ -228,6 +226,8 @@ if (_canDo) then {
|
||||
sleep 1;
|
||||
|
||||
} forEach _selectedRecipeOutput;
|
||||
|
||||
_tradeComplete = _tradeComplete+1;
|
||||
};
|
||||
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user