Skip to content

Commit

Permalink
bugfix in the inventory save function
Browse files Browse the repository at this point in the history
  • Loading branch information
E-Sh4rk committed Jul 30, 2020
1 parent b771cba commit c21f17d
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions KuruLevelEditor/KuruLevelEditor/CustomInventories.cs
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,11 @@ public void Save()
SaveGrid(pathP, grids[Levels.MapType.Physical].Grid);
string pathG = Path.Combine(dir, "graphical.txt");
SaveGrid(pathG, grids[Levels.MapType.Graphical].Grid);
string pathG2 = Path.Combine(dir, "graphical2.txt");
SaveGrid(pathG2, grids[Levels.MapType.Graphical2].Grid);
if (Settings.Paradise)
{
string pathG2 = Path.Combine(dir, "graphical2.txt");
SaveGrid(pathG2, grids[Levels.MapType.Graphical2].Grid);
}
string pathB = Path.Combine(dir, "background.txt");
SaveGrid(pathB, grids[Levels.MapType.Background].Grid);
string pathM = Path.Combine(dir, "minimap.txt");
Expand Down

0 comments on commit c21f17d

Please sign in to comment.