fixed abort

This commit is contained in:
[VB]AWOL
2014-01-26 20:12:06 -06:00
parent 8dcc979c21
commit 3c08c40e2e

View File

@@ -136,12 +136,12 @@ while {r_autoTrade} do {
_qty = {_x == _part_in} count magazines player;
_needed = _qty_in - _qty;
cutText [format[(localize "str_epoch_player_184"),_needed,_textPartIn] , "PLAIN DOWN"];
_abort = true;
};
};
if(_abort) exitWith {r_autoTrade = false};
sleep 1;
if(_abort || !_canAfford) exitWith {r_autoTrade = false};
};
DZE_ActionInProgress = false;