fixed crash when encountering unknown component
This commit is contained in:
parent
ebe5a12c37
commit
8c41fe6f8c
1 changed files with 1 additions and 1 deletions
|
@ -782,7 +782,7 @@ namespace Lumix
|
|||
visitor.cmp_type = cmp_type;
|
||||
visitor.L = L;
|
||||
|
||||
cmp_desc->visit(visitor);
|
||||
if(cmp_desc) cmp_desc->visit(visitor);
|
||||
|
||||
lua_pop(L, 1);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue