Skip to content

Commit

Permalink
Merge pull request #978 from Santarh/fixType
Browse files Browse the repository at this point in the history
Fix type parent
  • Loading branch information
ousttrue authored May 25, 2021
2 parents c2c7467 + d39c911 commit 703c58e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public static void ClearExternalObjects(this ScriptedImporter importer, params T

foreach (var (key, obj) in importer.GetExternalObjectMap())
{
if (key.type.IsAssignableFrom(targetType))
if (targetType.IsAssignableFrom(key.type))
{
importer.RemoveRemap(key);
}
Expand Down

0 comments on commit 703c58e

Please sign in to comment.