mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-17 17:20:26 +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:
@@ -362,7 +362,7 @@ if (_canBuild select 0) then {
|
||||
if (!_cancel) then {
|
||||
_classname = _classnametmp;
|
||||
_tmpbuilt = _classname createVehicle _location;
|
||||
_tmpbuilt setdir _dir;
|
||||
//_tmpbuilt setdir _dir; // setdir is incompatible with setVectorDirAndUp and should not be used together on the same object https://community.bistudio.com/wiki/setVectorDirAndUp
|
||||
_tmpbuilt setVariable["memDir",_dir,true];
|
||||
_location = _position;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user