mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-02-21 07:30:48 +03:00
Fix setdir and setVectorDirAndUp problem
Server admins should apply this fix at least for all their server files asap.
This commit is contained in:
@@ -40,7 +40,7 @@ if (Z_singleCurrency) then {_coins = _object getVariable ["cashMoney",0];};
|
||||
[_objectID,_objectUID,_object] call server_deleteObjDirect;
|
||||
|
||||
_holder = _lockedClass createVehicle [0,0,0];
|
||||
_holder setDir _dir;
|
||||
//_holder setDir _dir; // setdir is incompatible with setVectorDirAndUp and should not be used together on the same object https://community.bistudio.com/wiki/setVectorDirAndUp
|
||||
_holder setVariable ["memDir",_dir,true];
|
||||
_holder setVectorDirAndUp _vector;
|
||||
_holder setPosATL _pos;
|
||||
|
||||
Reference in New Issue
Block a user