diff --git a/Subsurface/Source/Map/Submarine.cs b/Subsurface/Source/Map/Submarine.cs index 8890f5436..d89823c29 100644 --- a/Subsurface/Source/Map/Submarine.cs +++ b/Subsurface/Source/Map/Submarine.cs @@ -947,11 +947,12 @@ namespace Barotrauma foreach (Item item in Item.ItemList) { - if (item.GetComponent() == null) continue; + if (item.GetComponent() == null) continue; if (!item.linkedTo.Any()) { errorMsgs.Add("The submarine contains vents which haven't been linked to an oxygen generator. Select a vent and click an oxygen generator while holding space to link them."); + break; } }