mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2025-12-13 19:52:38 +03:00
Re-add plot check
Accidentally removed this when merging plot for life
This commit is contained in:
@@ -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 {
|
||||
if (_requireplot == 0 || {_isLandFireDZ}) then {
|
||||
_canBuild = true;
|
||||
};
|
||||
} else {
|
||||
_ownerID = _nearestPole getVariable["CharacterID","0"];
|
||||
if(dayz_characterID == _ownerID) then {
|
||||
|
||||
Reference in New Issue
Block a user