Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.

Commit

Permalink
always end with waiting for user input, even though config file faile…
Browse files Browse the repository at this point in the history
…d to load ( we want to show this message as well )
  • Loading branch information
sambaas committed Aug 2, 2022
1 parent 3be10aa commit 8fee1e2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions TileBakeTool/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ static void Main(string[] args)
//If we received the minimal settings to start, start converting!
if (configFile != null)
StartConverting();

Console.WriteLine("TileBakeTool is done.");
if (waitForUserInputOnFinish)
WaitForUserInput();
}

private static void ParseArguments(string[] args)
Expand Down Expand Up @@ -175,11 +179,6 @@ private static void StartConverting()
tileBaker.TilingMethod = configFile.tilingMethod;

tileBaker.Convert();

Console.WriteLine("TileBakeTool is done.");

if(!waitForUserInputOnFinish)
WaitForUserInput();
}

private static void WaitForUserInput()
Expand Down

0 comments on commit 8fee1e2

Please sign in to comment.