From 57f8fe437be44a7ce9d87f23252d2bff27629520 Mon Sep 17 00:00:00 2001 From: Joonas Rikkonen Date: Fri, 29 Mar 2019 17:25:43 +0200 Subject: [PATCH] (2ae3a8227) Formatting --- .../GameModes/Tutorials/ContextualTutorial.cs | 9 --------- 1 file changed, 9 deletions(-) diff --git a/Barotrauma/BarotraumaClient/Source/GameSession/GameModes/Tutorials/ContextualTutorial.cs b/Barotrauma/BarotraumaClient/Source/GameSession/GameModes/Tutorials/ContextualTutorial.cs index 6567dd153..fe46adeae 100644 --- a/Barotrauma/BarotraumaClient/Source/GameSession/GameModes/Tutorials/ContextualTutorial.cs +++ b/Barotrauma/BarotraumaClient/Source/GameSession/GameModes/Tutorials/ContextualTutorial.cs @@ -665,15 +665,6 @@ namespace Barotrauma.Tutorials return true; } - foreach (Gap gap in Gap.GapList) - { - if (gap.ConnectedWall == null) continue; - if (gap.ConnectedDoor != null || gap.Open <= 0.0f) continue; - if (gap.Submarine == null) continue; - if (gap.Submarine != Submarine.MainSub) continue; - return true; - } - return false; }