Skip to content

Commit

Permalink
#17 fix union of solar nets
Browse files Browse the repository at this point in the history
  • Loading branch information
AaronCRobinson committed Oct 26, 2018
1 parent 06cf0f5 commit dc23c7b
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 1 deletion.
Binary file modified Assemblies/1SettingsHelper.dll
Binary file not shown.
Binary file modified Assemblies/ExpandedRoofing.dll
Binary file not shown.
2 changes: 1 addition & 1 deletion Source/ExpandedRoofing/SolarRoofingTracker.cs
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public void AddSolarCell(IntVec3 cell)
for (int i = 1; i < found.Count; i++)
{
cellSets[mergerKey].UnionWith(cellSets[found.ElementAt(i)]);
cellSets.Remove(i);
cellSets.Remove(found.ElementAt(i));
}
break;
}
Expand Down

0 comments on commit dc23c7b

Please sign in to comment.