mirror of
https://github.com/islehorse/HISP.git
synced 2025-04-22 20:55:52 +12:00
Fix N00BS
This commit is contained in:
parent
0c299729dd
commit
b3df338715
15 changed files with 71 additions and 81 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue