Fix message when buying multiple backpacks into empty gear

This commit is contained in:
ebaydayz
2016-08-04 16:16:13 -04:00
parent c47adbbdb0
commit c52187220c
2 changed files with 8 additions and 1 deletions

View File

@@ -95,7 +95,11 @@ if (_selection == 2) then { //gear
if (_allowedBackpacks >= _toBuyBags) then {
_check3 = true;
} else {
systemChat localize "STR_EPOCH_TRADE_HAVE_BACKPACK";
if (_allowedBackpacks == 0) then {
systemChat localize "STR_EPOCH_TRADE_HAVE_BACKPACK";
} else {
systemChat localize "STR_EPOCH_TRADE_ONE_BACKPACK";
};
};
if (_allowedBinocular > -1) then {
_check4 = true;