From 8c237492b9b71887231ccb7b399a23d7b8d8ae9e Mon Sep 17 00:00:00 2001 From: ebaydayz Date: Wed, 5 Oct 2016 13:01:40 -0400 Subject: [PATCH] Update vanilla player_build Vanilla commit: https://github.com/DayZMod/DayZ/commit/fd8e1e2baaf2dc99d8a1ee4e550d7fade22e1ed9 --- SQF/dayz_code/actions/player_buildVanilla.sqf | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/SQF/dayz_code/actions/player_buildVanilla.sqf b/SQF/dayz_code/actions/player_buildVanilla.sqf index c4ec31dc5..9a10ae0c7 100644 --- a/SQF/dayz_code/actions/player_buildVanilla.sqf +++ b/SQF/dayz_code/actions/player_buildVanilla.sqf @@ -332,8 +332,11 @@ while {dayz_actionInProgress and Dayz_constructionContext select 4} do { _object setPosATL _position; }; - //Check collisions - call _checkBuildingCollision; + //Need to add config based bypass checks array. + if (!_isCollisionBypass) then { + // check now that ghost is not colliding + call _checkBuildingCollision; + }; // try to dock a beam from current ghost to another beams nearby call _checkBeam2Magnet;