Skip to content

Commit

Permalink
直接通过CS.XX访问一个内嵌类时,会在加载外层类的时候顺便加载了内嵌类,但没有建立type到id的映射,导致xlua.private_a…
Browse files Browse the repository at this point in the history
…ccessible认为改内嵌类并未加载,fix #622
  • Loading branch information
chexiongsheng committed Aug 13, 2019
1 parent d5d688f commit c9aa552
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Assets/XLua/Src/ObjectTranslator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public bool TryDelayWrapLoader(RealStatePtr L, Type type)
{
continue;
}
TryDelayWrapLoader(L, nested_type);
GetTypeId(L, nested_type);
}

return true;
Expand Down

0 comments on commit c9aa552

Please sign in to comment.