Unstable v0.9.707.0

This commit is contained in:
Juan Pablo Arce
2020-02-11 16:07:21 -03:00
parent 8324d20464
commit 2783125162
68 changed files with 1460 additions and 1219 deletions
@@ -82,7 +82,8 @@ namespace Barotrauma
// Another pass for items with containers because also they can spawn inside other items (like smg magazine)
prefabsWithContainer.ForEach(i => SpawnItems(i));
// Spawn items that don't have containers last
prefabsWithoutContainer.Randomize().ForEach(i => SpawnItems(i));
prefabsWithoutContainer.RandomizeList();
prefabsWithoutContainer.ForEach(i => SpawnItems(i));
if (OutputDebugInfo)
{
@@ -91,7 +91,7 @@ namespace Barotrauma
Submarine.MainSub = submarine;
this.Submarine = submarine;
GameMain.GameSession = this;
EventManager = new EventManager(this);
EventManager = new EventManager();
this.SavePath = savePath;
}