Update player_loadCrate.sqf

#667

Return an empty crate to user when unpacking.
This commit is contained in:
dayz10k
2013-11-07 10:36:43 -05:00
parent 8a6f8f10d9
commit 3ae60f76be

View File

@@ -27,10 +27,14 @@ if ((_location select 2) < 0) then {
_location set [2,0];
};
//remove (partially) full crate
player removeMagazine _item;
_dir = getDir player;
_classname = "WeaponHolder";
//return empty crate to inventory
player addMagazine "bulk_emtpy";
// Change to optional wait to complete
player playActionNow "Medic";
sleep 6;