mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-14 20:13:13 +03:00
Fix humanity gain on trading
Thx @Schalldampfer
This commit is contained in:
@@ -8,7 +8,7 @@ _part_out = _vars select 0;
|
||||
_part_in = _vars select 1;
|
||||
_qty_out = _vars select 2;
|
||||
_qty_in = _vars select 3;
|
||||
_humanityGain = [0,_vars select 4] select (count _this > 4);
|
||||
_humanityGain = [0,_vars select 4] select (count _vars > 4);
|
||||
_textPartIn = getText (configFile >> "CfgMagazines" >> _part_in >> "displayName");
|
||||
_textPartOut = getText (configFile >> "CfgMagazines" >> _part_out >> "displayName");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user