Update cannot build plot pole within 45m.

Updates the cannot build plot pole within 45m message to use the DZE_PlotPole variable.
This commit is contained in:
Mikeeeyy
2014-08-15 00:10:24 +01:00
parent 59124e6eef
commit 49fe5f4846

View File

@@ -137,7 +137,7 @@ _findNearestPole = [];
_IsNearPlot = count (_findNearestPole);
// If item is plot pole && another one exists within 45m
if(_isPole && _IsNearPlot > 0) exitWith { DZE_ActionInProgress = false; cutText [(localize "str_epoch_player_44") , "PLAIN DOWN"]; };
if(_isPole && _IsNearPlot > 0) exitWith { DZE_ActionInProgress = false; cutText [(format [localize "str_epoch_player_44", DZE_PlotPole select 1]) , "PLAIN DOWN"]; };
if(_IsNearPlot == 0) then {