mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Update player_loadCrate.sqf
Prevents unpacking non existing supply crates.
This commit is contained in:
@@ -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;
|
||||
TradeInprogress = false;
|
||||
|
||||
Reference in New Issue
Block a user