diff --git a/SQF/dayz_code/actions/maintain_area.sqf b/SQF/dayz_code/actions/maintain_area.sqf index b90c8f619..1e1f909e6 100644 --- a/SQF/dayz_code/actions/maintain_area.sqf +++ b/SQF/dayz_code/actions/maintain_area.sqf @@ -11,7 +11,7 @@ s_player_maintain_area_preview = 1; _target = cursorTarget; // Plastic_Pole_EP1_DZ _objectClasses = ["ModularItems", "DZE_Housebase"] + DZE_ExtraMaintain; -_range = ((DZE_PlotPole this select 0)+20); // set the max range for the maintain area +_range = ((DZE_PlotPole select 0)+20); // set the max range for the maintain area _objects = nearestObjects [_target, _objectClasses, _range]; //filter to only those that have 10% damage diff --git a/SQF/dayz_code/actions/player_build.sqf b/SQF/dayz_code/actions/player_build.sqf index 95d767a60..94a3146b9 100644 --- a/SQF/dayz_code/actions/player_build.sqf +++ b/SQF/dayz_code/actions/player_build.sqf @@ -117,7 +117,7 @@ if((count _offset) <= 0) then { _isPole = (_classname == "Plastic_Pole_EP1_DZ"); _isLandFireDZ = (_classname == "Land_Fire_DZ"); -_distance = DZE_PlotPole this select 0; +_distance = DZE_PlotPole select 0; _needText = localize "str_epoch_player_246"; if(_isPole) then { diff --git a/SQF/dayz_code/compile/object_showPlotRadius.sqf b/SQF/dayz_code/compile/object_showPlotRadius.sqf index 3645f94e2..7148caf65 100644 --- a/SQF/dayz_code/compile/object_showPlotRadius.sqf +++ b/SQF/dayz_code/compile/object_showPlotRadius.sqf @@ -7,7 +7,7 @@ _nearPlotPole = nearestObject [player, "Plastic_Pole_EP1_DZ", 3]; //"privatized" center variable -_BD_radius = DZE_PlotPole this select 0; +_BD_radius = DZE_PlotPole select 0; _BD_center = getPos _nearPlotPole; _objects = [];