Skip to content

Commit

Permalink
Count output
Browse files Browse the repository at this point in the history
  • Loading branch information
mjungnickel18 committed Jul 6, 2019
1 parent 7771ef7 commit 558dc3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion PapyrusCs/Properties/launchSettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"profiles": {
"PapyrusCs": {
"commandName": "Project",
"commandLineArgs": "-w \"C:\\papyruscs\\world_bedrock_23062019\\db\" -o c:\\papyrus\\speedtest2 --threads 8 --dim 0 -f png",
"commandLineArgs": "-w \"C:\\papyruscs\\world_bedrock_23062019\\db\" -o c:\\papyrus\\speedtest2 --threads 8 --dim 1 -f png",
"workingDirectory": "c:\\temp"
}
}
Expand Down
2 changes: 1 addition & 1 deletion PapyrusCs/Strategies/Dataflow/DataFlowStrategy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -456,12 +456,12 @@ public void Finish()
if (Directory.Exists(pathToMapUpdate))
{
var filesToCopy = Directory.EnumerateFiles(pathToMapUpdate, "*." + FileFormat, SearchOption.AllDirectories);
Console.WriteLine($"Copying {filesToCopy.Count()} to {pathToMap}");
foreach (var f in filesToCopy)
{
var newPath = f.Replace(pathToMapUpdate, pathToMap);
FileInfo fi = new FileInfo(newPath);
fi.Directory?.Create();
Console.WriteLine("Copying {0} to {1}", f, newPath);
File.Copy(f, newPath, true);
}
}
Expand Down

0 comments on commit 558dc3d

Please sign in to comment.