Small update to object_build

Vanilla commit:

https://github.com/DayZMod/DayZ/commit/a10173443b4d47d4f9739a50759d68c27b6340df
This commit is contained in:
ebaydayz
2016-09-15 12:48:31 -04:00
parent b2dfa058b0
commit 7415c21c2b
+2 -2
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 {