Skip to content

Commit

Permalink
Fix long track cached renders when split among multiple segments
Browse files Browse the repository at this point in the history
  • Loading branch information
cam72cam committed Apr 29, 2019
1 parent 7a0cc53 commit 7b63209
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,12 @@ public RailInfo(World world, RailSettings settings, PlacementInfo placementInfo,
if (!placementInfo.placementPosition.equals(customInfo.placementPosition) || this.settings.posType != TrackPositionType.FIXED) {
id += placementInfo.placementPosition.subtract(customInfo.placementPosition);
}
if (placementInfo.control != null) {
id += placementInfo.control;
}
if (customInfo.control != null) {
id += customInfo.control;
}
uniqueID = id;
}

Expand Down

0 comments on commit 7b63209

Please sign in to comment.