Skip to content

Commit

Permalink
Added comment for #152
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikolai558 committed Aug 11, 2023
1 parent e7ed203 commit 271c030
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion FeBuddyLibrary/DataAccess/GeoJson.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1198,14 +1198,15 @@ public void WriteGeoMapGeoJson(string dirPath, GeoMapSet geo)
StringBuilder geoMapObjectLog = new StringBuilder();
foreach (GeoMap geoMap in geo.GeoMaps.GeoMap)
{

geoMapObjectLog.AppendLine($"\n\n-------------------------------------------------------------------------------------------------------------------------------------------------\n\n");
geoMapObjectLog.AppendLine($"{geoMap.Name}");

string geoMapDir = Path.Combine(dirPath, geoMap.Name);

foreach (GeoMapObject geoMapObject in geoMap.Objects.GeoMapObject)
{

// TODO: The log file is duplicating lines inside if they have duplicate description names/info.
geoMapObjectLog.AppendLine($"\n\n\tDescription: {geoMapObject.Description}");
geoMapObjectLog.AppendLine($"\t\tTDM: {geoMapObject.TdmOnly}");

Expand Down

0 comments on commit 271c030

Please sign in to comment.