diff --git a/TShockAPI/Properties/AssemblyInfo.cs b/TShockAPI/Properties/AssemblyInfo.cs index c473fadf..1ea16143 100644 --- a/TShockAPI/Properties/AssemblyInfo.cs +++ b/TShockAPI/Properties/AssemblyInfo.cs @@ -35,5 +35,5 @@ using System.Runtime.InteropServices; // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] -[assembly: AssemblyVersion("2.1.0.0617")] -[assembly: AssemblyFileVersion("2.1.0.0617")] \ No newline at end of file +[assembly: AssemblyVersion("2.1.0.0618")] +[assembly: AssemblyFileVersion("2.1.0.0618")] \ No newline at end of file diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index 5dd14940..bbccdd57 100755 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -72,11 +72,9 @@ namespace TShockAPI string version = string.Format("TShock Version {0} ({1}) now running.", Version, VersionCodename); Console.WriteLine(version); -#if DEBUG + Log.Initialize(Path.Combine(SavePath, "log.txt"), LogLevel.All, false); -#else - Log.Initialize(Path.Combine(SavePath, "log.txt"), LogLevel.Info, false); -#endif + Log.Info(version); Log.Info("Starting...");