(a410fd46c) Trying to help the merge script through a jungle of merges
This commit is contained in:
@@ -159,14 +159,7 @@ namespace Barotrauma
|
||||
|
||||
public GameMain()
|
||||
{
|
||||
/*#if !DEBUG && OSX
|
||||
// Use a separate path for content that's editable due to macOS's .app bundles crashing when edited during runtime
|
||||
string macPath = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.Personal), "Library/Barotrauma");
|
||||
Directory.SetCurrentDirectory(macPath);
|
||||
Content.RootDirectory = macPath + "/Content";
|
||||
#else*/
|
||||
Content.RootDirectory = "Content";
|
||||
/*#endif*/
|
||||
|
||||
GraphicsDeviceManager = new GraphicsDeviceManager(this);
|
||||
|
||||
@@ -280,7 +273,7 @@ namespace Barotrauma
|
||||
canLoadInSeparateThread = true;
|
||||
#endif
|
||||
|
||||
loadingCoroutine = CoroutineManager.StartCoroutine(Load(canLoadInSeparateThread), "", canLoadInSeparateThread);
|
||||
loadingCoroutine = CoroutineManager.StartCoroutine(Load(canLoadInSeparateThread), "Load", canLoadInSeparateThread);
|
||||
}
|
||||
|
||||
private void InitUserStats()
|
||||
@@ -541,7 +534,9 @@ namespace Barotrauma
|
||||
/// </summary>
|
||||
protected override void UnloadContent()
|
||||
{
|
||||
CoroutineManager.StopCoroutines("Load");
|
||||
Video.Close();
|
||||
VoipCapture.Instance?.Dispose();
|
||||
SoundManager?.Dispose();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user