Skip to content

Commit

Permalink
fix json text export comma
Browse files Browse the repository at this point in the history
  • Loading branch information
factubsio committed May 8, 2022
1 parent 7b2f70c commit 2f978da
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion BlueprintExplorer/BlueprintDB.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public int CompareTo(GameVersion other)

public List<GameVersion> Available = new() { };

private readonly GameVersion LastKnown = new(1, 3, 0, 'i', 1);
private readonly GameVersion LastKnown = new(1, 3, 2, 'c', 0);

private readonly string filenameRoot = "blueprints_raw";
private readonly string extension = "binz";
Expand Down
2 changes: 1 addition & 1 deletion BlueprintExplorer/TextExporter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ void Open(string key, bool obj)
{
if (json)
{
if (stack.Peek().Children > 0)
if (stack.Peek().Children > 1)
stream.Write(',');
stream.WriteLine();
}
Expand Down

0 comments on commit 2f978da

Please sign in to comment.