mirror of
https://github.com/EpochModTeam/DayZ-Epoch.git
synced 2026-10-07 17:19:34 +03:00
remove allowing tanktraps on roads
This commit is contained in:
1 parent
dbdcad75eb
commit
58f89d8d61
1 file changed
+2
-2
@@ -372,9 +372,9 @@ if (_hasrequireditem) then {
|
||||
};
|
||||
};
|
||||
|
||||
// No building on roads for most items
|
||||
//No building on roads unless toggled
|
||||
if (!DZE_BuildOnRoads) then {
|
||||
if ((isOnRoad _position) and (_classname!="Hedgehog_DZ")) then { _cancel = true; _reason = "Cannot build on a road."; };
|
||||
if (isOnRoad _position) then { _cancel = true; _reason = "Cannot build on a road."; };
|
||||
};
|
||||
|
||||
// No building in trader zones
|
||||
|
||||
Reference in new issue
Block a user