Explorar el Código

修复ILRT模式报错

tanghai hace 7 años
padre
commit
92e7a5b18f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      Unity/Assets/Scripts/Entity/Hotfix.cs

+ 1 - 1
Unity/Assets/Scripts/Entity/Hotfix.cs

@@ -42,7 +42,7 @@ namespace ETModel
 				return new List<Type>();
 			}
 
-			return this.appDomain.LoadedTypes.Values.Select(x => x.ReflectionType);
+			return this.appDomain.LoadedTypes.Values.Select(x => x.ReflectionType).ToList();
 #else
 			if (this.assembly == null)
 			{