Debug notice on DeInit.
This commit is contained in:
parent
ec07c38b86
commit
1d91e6138e
1 changed files with 1 additions and 0 deletions
|
|
@ -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"));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue