diff --git a/SQF/dayz_code/actions/player_buildingDowngrade.sqf b/SQF/dayz_code/actions/player_buildingDowngrade.sqf index 918d27ca9..2f3b687d4 100644 --- a/SQF/dayz_code/actions/player_buildingDowngrade.sqf +++ b/SQF/dayz_code/actions/player_buildingDowngrade.sqf @@ -25,6 +25,8 @@ _findNearestPole = []; _IsNearPlot = count (_findNearestPole); +_canBuildOnPlot = false; + if(_IsNearPlot == 0) then { _canBuildOnPlot = true; } else { diff --git a/SQF/dayz_code/actions/player_upgrade.sqf b/SQF/dayz_code/actions/player_upgrade.sqf index 617188b8a..ada46e651 100644 --- a/SQF/dayz_code/actions/player_upgrade.sqf +++ b/SQF/dayz_code/actions/player_upgrade.sqf @@ -26,6 +26,8 @@ _findNearestPole = []; _IsNearPlot = count (_findNearestPole); +_canBuildOnPlot = false; + if(_IsNearPlot == 0) then { _canBuildOnPlot = true; } else {