diff --git a/TShockAPI/Properties/AssemblyInfo.cs b/TShockAPI/Properties/AssemblyInfo.cs index ed40f857..ad10961a 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.3.4.0712")] -[assembly: AssemblyFileVersion("2.3.4.0712")] +[assembly: AssemblyVersion("2.3.4.0713")] +[assembly: AssemblyFileVersion("2.3.4.0713")] diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index 23b88d50..609495bc 100755 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -95,14 +95,14 @@ namespace TShockAPI public override void Initialize() { - if (File.Exists(Path.Combine(SavePath + "tshock.pid"))) + if (File.Exists(Path.Combine(SavePath, "tshock.pid"))) { - File.Delete(Path.Combine(SavePath + "tshock.pid")); + File.Delete(Path.Combine(SavePath, "tshock.pid")); } p = Process.GetCurrentProcess(); int pid = p.Id; - TextWriter tw = new StreamWriter(Path.Combine(SavePath + "tshock.pid")); + TextWriter tw = new StreamWriter(Path.Combine(SavePath, "tshock.pid")); tw.Write(pid); tw.Close();