mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-04 15:22:53 +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;
|
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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user