Skip to content

Commit

Permalink
Remove file extensions from m_Dict
Browse files Browse the repository at this point in the history
  • Loading branch information
FINDarkside committed Feb 15, 2018
1 parent eb32a4c commit c17012d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SaveConverter/SaveCompressor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ private static void CompressMultipleFiles(string path, string outputPath)

foreach (var file in Directory.GetFiles(scenesPath))
{
slot.m_Dict[Path.GetFileName(file)] = ReadJToken(file);
slot.m_Dict[Path.GetFileNameWithoutExtension(file)] = ReadJToken(file);
}

var resultJson = JsonConvert.SerializeObject(slot, Formatting.None);
Expand Down

0 comments on commit c17012d

Please sign in to comment.