Fix N00BS

This commit is contained in:
Li 2022-07-19 12:33:44 +12:00
parent 0c299729dd
commit b3df338715
15 changed files with 71 additions and 81 deletions

View file

@ -8258,18 +8258,16 @@ namespace HISP.Server
}
public static void ShutdownServer()
{
Logger.InfoPrint("Shutting down.");
Logger.InfoPrint("Server shutting down.");
try
{
GameClient.OnShutdown();
GameServer.OnShutdown();
Database.OnShutdown();
Entry.OnShutdown();
}
catch (Exception)
{
Environment.Exit(1);
}
catch (Exception) { }
Entry.OnShutdown();
}
public static void StartServer()