v0.14.6.0
This commit is contained in:
@@ -35,6 +35,8 @@ namespace Barotrauma
|
||||
private set;
|
||||
}
|
||||
|
||||
public static Thread MainThread { get; private set; }
|
||||
|
||||
//only screens the server implements
|
||||
public static GameScreen GameScreen;
|
||||
public static NetLobbyScreen NetLobbyScreen;
|
||||
@@ -91,6 +93,8 @@ namespace Barotrauma
|
||||
|
||||
Console.WriteLine("Initializing GameScreen");
|
||||
GameScreen = new GameScreen();
|
||||
|
||||
MainThread = Thread.CurrentThread;
|
||||
}
|
||||
|
||||
public void Init()
|
||||
@@ -388,6 +392,8 @@ namespace Barotrauma
|
||||
|
||||
if (GameSettings.SaveDebugConsoleLogs) { DebugConsole.SaveLogs(); }
|
||||
if (GameSettings.SendUserStatistics) { GameAnalytics.OnQuit(); }
|
||||
|
||||
MainThread = null;
|
||||
}
|
||||
|
||||
public static void ResetFrameTime()
|
||||
|
||||
Reference in New Issue
Block a user