Version tick: 3.8.x.x
Changed the improper shutdown message to be a little more informative.
This commit is contained in:
parent
a3158d6311
commit
53cda6036d
2 changed files with 3 additions and 3 deletions
|
|
@ -48,5 +48,5 @@ using System.Runtime.InteropServices;
|
||||||
// Build Number
|
// Build Number
|
||||||
// MMdd of the build
|
// MMdd of the build
|
||||||
|
|
||||||
[assembly: AssemblyVersion("3.7.0.0225")]
|
[assembly: AssemblyVersion("3.8.0.0304")]
|
||||||
[assembly: AssemblyFileVersion("3.7.0.0225")]
|
[assembly: AssemblyFileVersion("3.8.0.0304")]
|
||||||
|
|
|
||||||
|
|
@ -137,7 +137,7 @@ namespace TShockAPI
|
||||||
if (File.Exists(Path.Combine(SavePath, "tshock.pid")))
|
if (File.Exists(Path.Combine(SavePath, "tshock.pid")))
|
||||||
{
|
{
|
||||||
Log.ConsoleInfo(
|
Log.ConsoleInfo(
|
||||||
"TShock was improperly shut down. Please avoid this in the future, world corruption may result from this.");
|
"TShock was improperly shut down. Please use the exit command in the future to prevent this.");
|
||||||
File.Delete(Path.Combine(SavePath, "tshock.pid"));
|
File.Delete(Path.Combine(SavePath, "tshock.pid"));
|
||||||
}
|
}
|
||||||
File.WriteAllText(Path.Combine(SavePath, "tshock.pid"), Process.GetCurrentProcess().Id.ToString(CultureInfo.InvariantCulture));
|
File.WriteAllText(Path.Combine(SavePath, "tshock.pid"), Process.GetCurrentProcess().Id.ToString(CultureInfo.InvariantCulture));
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue