mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-15 20:52:56 +03:00
fix vault from moving potental fix for tents too
This commit is contained in:
@@ -49,11 +49,13 @@ if (!_isOk) then {
|
||||
//place tent (local)
|
||||
_tent = createVehicle ["VaultStorageLocked", _location, [], 0, "CAN_COLLIDE"];
|
||||
_tent setdir _dir;
|
||||
_location = getPosATL _tent;
|
||||
_tent setpos _location;
|
||||
player reveal _tent;
|
||||
_location = getPosATL _tent;
|
||||
|
||||
|
||||
_tent setVariable ["characterID",dayz_characterID,true];
|
||||
_tent setVariable ["OEMPos",_location,true];
|
||||
|
||||
//player setVariable ["tentUpdate",["Land_A_tent",_dir,_location,[dayz_tentWeapons,dayz_tentMagazines,dayz_tentBackpacks]],true];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user