Small update to object_build

Vanilla commit:

a10173443b
This commit is contained in:
ebaydayz
2016-09-15 12:48:31 -04:00
parent b2dfa058b0
commit 7415c21c2b

View File

@@ -22,9 +22,9 @@ if (_build) then {
_direction = getDir _ghost;
_object = createVehicle [_classname, getMarkerpos "respawn_west", [], 0, "CAN_COLLIDE"];
// if (_object isKindOf "DZ_buildables") then { _object allowDamage false; };
_object setDir _direction;
if ((Dayz_constructionContext select 5) or _keepOnSlope) then {
if ((Dayz_constructionContext select 5) or (_keepOnSlope)) then {
_object setVectorUp surfaceNormal _location;
_location set [2,0];
} else {