Change logic on what goes in the toolbox

If a tool has no toolattribute, it is presumed to be released.  Fixes #2015
This commit is contained in:
nattthebear 2020-05-27 11:06:53 -04:00
parent 59a67329c7
commit 4236662f53
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ namespace BizHawk.Client.EmuHawk
.Where(t => typeof(Form).IsAssignableFrom(t))
.Where(t => !typeof(ToolBox).IsAssignableFrom(t))
.Where(t => ServiceInjector.IsAvailable(Emulator.ServiceProvider, t))
.Where(t => VersionInfo.DeveloperBuild || t.GetCustomAttributes(false).OfType<ToolAttribute>().Any(a => a.Released));
.Where(t => VersionInfo.DeveloperBuild || !t.GetCustomAttributes(false).OfType<ToolAttribute>().Any(a => !a.Released));
foreach (var t in tools)
{