diff --git a/Contentless/Contentless.nuspec b/Contentless/Contentless.nuspec index ac734a7..af4df98 100644 --- a/Contentless/Contentless.nuspec +++ b/Contentless/Contentless.nuspec @@ -2,7 +2,7 @@ Contentless - 2.0.2 + 2.0.3 Ellpeck A tool for MonoGame that automatically handles adding assets to the Content Pipeline project monogame mono xna content pipeline mgcb builder tool library diff --git a/Contentless/Program.cs b/Contentless/Program.cs index dba3f9f..df0f970 100644 --- a/Contentless/Program.cs +++ b/Contentless/Program.cs @@ -116,7 +116,7 @@ namespace Contentless { // normal importers if (importer == null) importer = GetImporterFor(relative, importers); - if (processor == null) + if (importer != null && processor == null) processor = Array.Find(processors, p => p == importer.Importer.DefaultProcessor); // no importer found :(