Skip to content

Commit

Permalink
https://github.com/kbengine/kbengine/issues/612
Browse files Browse the repository at this point in the history
  • Loading branch information
kebiao committed Jan 23, 2019
1 parent ee00db1 commit 2546cb0
Show file tree
Hide file tree
Showing 3 changed files with 247 additions and 63 deletions.
5 changes: 4 additions & 1 deletion kbe/src/lib/entitydef/entitydef.cpp
Expand Up @@ -232,7 +232,10 @@ bool EntityDef::initialize(std::vector<PyTypeObject*>& scriptBaseTypes,
if(loadComponentType == DBMGR_TYPE)
return true;

return script::entitydef::initialize(scriptBaseTypes, loadComponentType) && loadAllEntityScriptModules(__entitiesPath, scriptBaseTypes) && initializeWatcher();
return script::entitydef::initialize(scriptBaseTypes, loadComponentType) &&
loadAllEntityScriptModules(__entitiesPath, scriptBaseTypes) &&
script::entitydef::process() &&
initializeWatcher();
}

//-------------------------------------------------------------------------------------
Expand Down

0 comments on commit 2546cb0

Please sign in to comment.