From 8fd4c8eb8b59cc636f7d614e83d192fe743cc2fe Mon Sep 17 00:00:00 2001 From: icomrade Date: Wed, 18 May 2016 10:13:29 -0400 Subject: [PATCH] Re-add plot check Accidentally removed this when merging plot for life --- SQF/dayz_code/compile/dze_buildChecks.sqf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/SQF/dayz_code/compile/dze_buildChecks.sqf b/SQF/dayz_code/compile/dze_buildChecks.sqf index daac1df74..d6c7d6fc6 100644 --- a/SQF/dayz_code/compile/dze_buildChecks.sqf +++ b/SQF/dayz_code/compile/dze_buildChecks.sqf @@ -33,7 +33,9 @@ _nearestPole = _plotcheck select 2; if(_isPole && {_IsNearPlot > 0}) exitWith {DZE_ActionInProgress = false; format[localize "str_epoch_player_44",_distance] call dayz_rollingMessages; [_canBuild, _isPole];}; if(_IsNearPlot == 0) then { - _canBuild = true; + if (_requireplot == 0 || {_isLandFireDZ}) then { + _canBuild = true; + }; } else { _ownerID = _nearestPole getVariable["CharacterID","0"]; if(dayz_characterID == _ownerID) then {