(a9f855db4) Fixed: order of checks in previous commit
This commit is contained in:
@@ -657,10 +657,10 @@ namespace Barotrauma.Tutorials
|
||||
{
|
||||
foreach (Gap gap in Gap.GapList)
|
||||
{
|
||||
if (gap.Submarine.IsOutpost) continue;
|
||||
if (gap.ConnectedWall == null || gap.IsRoomToRoom) continue;
|
||||
if (gap.ConnectedDoor != null || gap.Open <= 0.0f) continue;
|
||||
if (gap.Submarine == null) continue;
|
||||
if (gap.Submarine.IsOutpost) continue;
|
||||
if (gap.Submarine != Submarine.MainSub) continue;
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user