diff --git a/Assemblies/1SettingsHelper.dll b/Assemblies/1SettingsHelper.dll index a11a867..2b430e0 100644 Binary files a/Assemblies/1SettingsHelper.dll and b/Assemblies/1SettingsHelper.dll differ diff --git a/Assemblies/ExpandedRoofing.dll b/Assemblies/ExpandedRoofing.dll index 305f29b..dbdaaf1 100644 Binary files a/Assemblies/ExpandedRoofing.dll and b/Assemblies/ExpandedRoofing.dll differ diff --git a/Source/ExpandedRoofing/SolarRoofingTracker.cs b/Source/ExpandedRoofing/SolarRoofingTracker.cs index 9de310a..a841a06 100644 --- a/Source/ExpandedRoofing/SolarRoofingTracker.cs +++ b/Source/ExpandedRoofing/SolarRoofingTracker.cs @@ -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; }