Skip to content
This repository has been archived by the owner on Sep 7, 2021. It is now read-only.

Commit

Permalink
fix for nullref
Browse files Browse the repository at this point in the history
  • Loading branch information
Crzyrndm committed Mar 18, 2015
1 parent 1e3b856 commit 113b232
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion FilterExtension/ConfigNodes/customCategory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,10 @@ private void generateEngineTypes()
}
engines.Add(name);
}
subCategories.AddUniqueRange(engines);
if (subCategories != null)
subCategories.AddUniqueRange(engines);
else
subCategories = engines;
}

private void makeTemplate(ConfigNode node)
Expand Down
Binary file modified GameData/000_FilterExtensions/FilterExtensions.dll
Binary file not shown.

0 comments on commit 113b232

Please sign in to comment.