From e1924f517fdd8e66184316a089718e7e1c153cea Mon Sep 17 00:00:00 2001 From: Joonas Rikkonen Date: Fri, 26 Apr 2019 11:15:19 +0300 Subject: [PATCH] (53ca31b28) Removed: Unused tutorialsub, unused enum from tutorials --- .../Source/GameSession/GameModes/Tutorials/Tutorial.cs | 4 ---- Barotrauma/BarotraumaShared/SharedContent.projitems | 3 --- 2 files changed, 7 deletions(-) diff --git a/Barotrauma/BarotraumaClient/Source/GameSession/GameModes/Tutorials/Tutorial.cs b/Barotrauma/BarotraumaClient/Source/GameSession/GameModes/Tutorials/Tutorial.cs index b4f3af7a9..73e202639 100644 --- a/Barotrauma/BarotraumaClient/Source/GameSession/GameModes/Tutorials/Tutorial.cs +++ b/Barotrauma/BarotraumaClient/Source/GameSession/GameModes/Tutorials/Tutorial.cs @@ -22,9 +22,6 @@ namespace Barotrauma.Tutorials private Action infoBoxClosedCallback; protected XElement configElement; - private enum TutorialType { None, Scenario, Contextual }; - private TutorialType tutorialType = TutorialType.None; - protected VideoPlayer videoPlayer; protected enum TutorialContentTypes { None = 0, Video = 1, ManualVideo = 2, TextOnly = 3 }; protected string playableContentPath; @@ -164,7 +161,6 @@ namespace Barotrauma.Tutorials configElement = element; Name = element.GetAttributeString("name", "Unnamed"); completed = GameMain.Config.CompletedTutorialNames.Contains(Name); - Enum.TryParse(element.GetAttributeString("tutorialtype", "Scenario"), true, out tutorialType); playableContentPath = element.GetAttributeString("playablecontentpath", ""); segments = new List(); diff --git a/Barotrauma/BarotraumaShared/SharedContent.projitems b/Barotrauma/BarotraumaShared/SharedContent.projitems index ce081512f..3bb1ba556 100644 --- a/Barotrauma/BarotraumaShared/SharedContent.projitems +++ b/Barotrauma/BarotraumaShared/SharedContent.projitems @@ -3133,9 +3133,6 @@ PreserveNewest - - PreserveNewest - PreserveNewest