diff --git a/SQF/dayz_code/actions/player_loadCrate.sqf b/SQF/dayz_code/actions/player_loadCrate.sqf index 990da45fe..e9a59f020 100644 --- a/SQF/dayz_code/actions/player_loadCrate.sqf +++ b/SQF/dayz_code/actions/player_loadCrate.sqf @@ -11,7 +11,7 @@ if(!_hasTool) exitWith { _item = _this; _hasCrate = _item in magazines player; -if (!_hasCrate) then { +if (!_hasCrate) exitWith { cutText ["\n\nMissing supply crate.", "PLAIN DOWN"]; TradeInprogress = false; }; @@ -53,4 +53,4 @@ player reveal _box; cutText ["\n\nOpened supply crate.", "PLAIN DOWN"]; -TradeInprogress = false; \ No newline at end of file +TradeInprogress = false;