Quick fixes

This commit is contained in:
James Finlay 2016-03-06 12:51:22 -08:00
parent ac8b738985
commit 04abcec53c
1 changed files with 2 additions and 5 deletions

View File

@ -77,7 +77,6 @@ namespace StardewModdingAPI
{ {
Console.Title = _consoleTitle; Console.Title = _consoleTitle;
Console.Title += " - Version " + Version.VersionString;
#if DEBUG #if DEBUG
Console.Title += " - DEBUG IS NOT FALSE, AUTHOUR NEEDS TO REUPLOAD THIS VERSION"; Console.Title += " - DEBUG IS NOT FALSE, AUTHOUR NEEDS TO REUPLOAD THIS VERSION";
#endif #endif
@ -107,13 +106,11 @@ namespace StardewModdingAPI
StardewModdingAPI.Log.Initialize(LogPath); StardewModdingAPI.Log.Initialize(LogPath);
StardewModdingAPI.Log.Verbose(LogPath);
if (!File.Exists(ExecutionPath + "\\Stardew Valley.exe")) if (!File.Exists(ExecutionPath + "\\Stardew Valley.exe"))
{ {
throw new FileNotFoundException(string.Format("Could not found: {0}\\Stardew Valley.exe", ExecutionPath)); throw new FileNotFoundException(string.Format("Could not found: {0}\\Stardew Valley.exe", ExecutionPath));
}
} }
}
/// <summary> /// <summary>
/// Load the injector. /// Load the injector.
@ -271,7 +268,7 @@ namespace StardewModdingAPI
StardewModdingAPI.Log.Verbose("Game Loaded"); StardewModdingAPI.Log.Verbose("Game Loaded");
Events.GameEvents.InvokeGameLoaded(); Events.GameEvents.InvokeGameLoaded();
StardewModdingAPI.Log.Comment(ConsoleColor.Cyan, "Type 'help' for help, or 'help <cmd>' for a command's usage"); StardewModdingAPI.Log.Comment("Type 'help' for help, or 'help <cmd>' for a command's usage");
//Begin listening to input //Begin listening to input
consoleInputThread.Start(); consoleInputThread.Start();