mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 15:20:48 -05:00
exit works correctly again
changes to rcon for T6M hopefully fixed some stat issues (spm and database errors)
This commit is contained in:
@ -37,7 +37,6 @@ namespace IW4MAdmin.Application
|
||||
|
||||
ServerManager = ApplicationManager.GetInstance();
|
||||
ServerManager.Init().Wait();
|
||||
Task.Run(() => ServerManager.Start());
|
||||
|
||||
Task.Run(() =>
|
||||
{
|
||||
@ -60,11 +59,12 @@ namespace IW4MAdmin.Application
|
||||
Console.Write('>');
|
||||
|
||||
} while (ServerManager.Running);
|
||||
|
||||
Console.WriteLine("Shutdown complete");
|
||||
});
|
||||
|
||||
WebfrontCore.Program.Init(ServerManager);
|
||||
Task.Run(() => WebfrontCore.Program.Init(ServerManager));
|
||||
ServerManager.Start();
|
||||
ServerManager.Logger.WriteVerbose("Shutdown complete");
|
||||
|
||||
}
|
||||
|
||||
catch (Exception e)
|
||||
|
Reference in New Issue
Block a user