Added some convenient console commands

This commit is contained in:
juanjp600
2017-06-22 19:51:19 -03:00
parent 72d5cb227b
commit be2074b4f0
6 changed files with 93 additions and 20 deletions
+3 -2
View File
@@ -30,18 +30,19 @@ namespace Barotrauma
{
GameMain game = null;
Thread inputThread = null;
try
{
game = new GameMain();
inputThread = new Thread(new ThreadStart(game.ProcessInput));
inputThread.Start();
game.Run();
inputThread.Abort(); inputThread.Join();
}
catch (Exception e)
{
CrashDump(game, "servercrashreport.txt", e);
//inputThread.Abort(); inputThread.Join();
inputThread.Abort(); inputThread.Join();
}
}