Debug notice on DeInit.

This commit is contained in:
Lucas Nicodemus 2011-07-13 01:02:24 -06:00
parent ec07c38b86
commit 1d91e6138e

View file

@ -198,6 +198,7 @@ namespace TShockAPI
NpcHooks.StrikeNpc -= NpcHooks_OnStrikeNpc;
if (File.Exists(Path.Combine(SavePath, "tshock.pid")))
{
Console.WriteLine("Thanks for using TShock! Process ID file is now being destroyed.");
File.Delete(Path.Combine(SavePath, "tshock.pid"));
}
}