Skip to content
This repository has been archived by the owner on May 23, 2023. It is now read-only.

Commit

Permalink
5.02.0065: fixed traffic issue
Browse files Browse the repository at this point in the history
all components of all implements will now be added to the trafficCollisionIgnore list  #2639
  • Loading branch information
ThomasGaertner committed Mar 15, 2018
1 parent a3db365 commit a3d30c1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modDesc.xml
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8" standalone="no" ?>
<modDesc descVersion="37">
<version>5.02.00064</version>
<version>5.02.00065</version>
<author><![CDATA[Courseplay.devTeam]]></author>
<title>
<br>CoursePlay 5</br>
Expand Down
2 changes: 1 addition & 1 deletion toolManager.lua
Expand Up @@ -373,7 +373,7 @@ function courseplay:updateWorkTools(vehicle, workTool, isImplement)
courseplay:debug(('%s: adding %q (%q) to cpTrafficCollisionIgnoreList'):format(nameNum(vehicle), nameNum(workTool), tostring(workTool.cp.xmlFileName)), 3);
vehicle.cpTrafficCollisionIgnoreList[workTool.rootNode] = true;
-- TRAFFIC COLLISION IGNORE LIST (components)
if not isImplement or workTool.cp.hasSpecializationCutter then
if workTool.components ~= nil then
courseplay:debug(('%s: adding %q (%q) components to cpTrafficCollisionIgnoreList'):format(nameNum(vehicle), nameNum(workTool), tostring(workTool.cp.xmlFileName)), 3);
for i,component in pairs(workTool.components) do
vehicle.cpTrafficCollisionIgnoreList[component.node] = true;
Expand Down

0 comments on commit a3d30c1

Please sign in to comment.