- fixed Submarine.MainSub not being set in tutorialmode

- controllers can effect view distance (-> longer railgun view dist)
- fixed removeitem messages not being sent when a fabricator destroys an item
- changes to depth damage logic: structures won't take damage until the pressure is above the health of the hull (i.e. weaker structures break first, subs with no windows can go deeper)
This commit is contained in:
Regalis
2016-07-25 18:38:50 +03:00
parent deb09328e0
commit 2490c0eb9d
4 changed files with 52 additions and 25 deletions

View File

@@ -9,9 +9,8 @@ namespace Barotrauma
public static void StartTutorial(TutorialType tutorialType)
{
Submarine.Load("Content/Map/TutorialSub.sub", "", true);
Submarine.MainSub = Submarine.Load("Content/Map/TutorialSub.sub", "", true);
tutorialType.Initialize();
}