From 950425174d21d3613828330e456d46747378533c Mon Sep 17 00:00:00 2001 From: Joonas Rikkonen Date: Thu, 23 May 2019 15:15:30 +0300 Subject: [PATCH] (7aea3c20b) Fixed subs with the HideInMenus tag being hidden in debug builds but not in release builds (instead of the other way around) --- Barotrauma/BarotraumaClient/Source/Screens/CampaignSetupUI.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Barotrauma/BarotraumaClient/Source/Screens/CampaignSetupUI.cs b/Barotrauma/BarotraumaClient/Source/Screens/CampaignSetupUI.cs index 70b981ebe..aab141dd7 100644 --- a/Barotrauma/BarotraumaClient/Source/Screens/CampaignSetupUI.cs +++ b/Barotrauma/BarotraumaClient/Source/Screens/CampaignSetupUI.cs @@ -253,7 +253,7 @@ namespace Barotrauma public void UpdateSubList(IEnumerable submarines) { -#if DEBUG +#if !DEBUG var subsToShow = submarines.Where(s => !s.HasTag(SubmarineTag.HideInMenus)); #else var subsToShow = submarines;