diff --git a/Source/Bind/FuncProcessor.cs b/Source/Bind/FuncProcessor.cs index b8544f10..f8b7a3f0 100644 --- a/Source/Bind/FuncProcessor.cs +++ b/Source/Bind/FuncProcessor.cs @@ -121,9 +121,9 @@ namespace Bind string ext = d.Extension; var function_override = - nav.SelectSingleNode(String.Format(Path, name, ext)) ?? nav.SelectSingleNode(String.Format(Path, d.Name, ext)) ?? - nav.SelectSingleNode(String.Format(Path, Utilities.StripGL2Extension(d.Name), ext)); + nav.SelectSingleNode(String.Format(Path, Utilities.StripGL2Extension(d.Name), ext)) ?? + nav.SelectSingleNode(String.Format(Path, name, ext)); return function_override; }