(7aea3c20b) Fixed subs with the HideInMenus tag being hidden in debug builds but not in release builds (instead of the other way around)
This commit is contained in:
@@ -253,7 +253,7 @@ namespace Barotrauma
|
|||||||
|
|
||||||
public void UpdateSubList(IEnumerable<Submarine> submarines)
|
public void UpdateSubList(IEnumerable<Submarine> submarines)
|
||||||
{
|
{
|
||||||
#if DEBUG
|
#if !DEBUG
|
||||||
var subsToShow = submarines.Where(s => !s.HasTag(SubmarineTag.HideInMenus));
|
var subsToShow = submarines.Where(s => !s.HasTag(SubmarineTag.HideInMenus));
|
||||||
#else
|
#else
|
||||||
var subsToShow = submarines;
|
var subsToShow = submarines;
|
||||||
|
|||||||
Reference in New Issue
Block a user