File tree Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Expand file tree Collapse file tree 2 files changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -828,9 +828,15 @@ internal ToolbarTypes()
828
828
829
829
internal static Type getType ( string name )
830
830
{
831
- return AssemblyLoader . loadedAssemblies
832
- . SelectMany ( a => a . assembly . GetExportedTypes ( ) )
833
- . SingleOrDefault ( t => t . FullName == name ) ;
831
+ Type type = null ;
832
+ AssemblyLoader . loadedAssemblies . TypeOperation ( t =>
833
+ {
834
+ if ( t . FullName == name )
835
+ {
836
+ type = t ;
837
+ }
838
+ } ) ;
839
+ return type ;
834
840
}
835
841
836
842
internal static PropertyInfo getProperty ( Type type , string name )
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ public class AGXMainMenu :PartModule
13
13
//abandoned module, no longer needed for key rebinding
14
14
public void Start ( )
15
15
{
16
- print ( "AGExt Ver. 2.1 loaded" ) ;
16
+ print ( "AGExt Ver. 2.1a loaded" ) ;
17
17
18
18
19
19
}
You can’t perform that action at this time.
0 commit comments