mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-13 19:53:48 +00:00
Integrate new CInterface into the engine-console
This commit is contained in:
parent
ae1f5a3c89
commit
870ee9fb5b
6 changed files with 67 additions and 8 deletions
|
|
@ -455,6 +455,15 @@ bool ModuleManager::loadModuleGroup( const char* pModuleGroup )
|
|||
moduleGroup, pLoadReadyModuleDefinition->getModuleId(), pLoadReadyModuleDefinition->getVersionId(), pLoadReadyModuleDefinition->getModuleScriptFilePath() );
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
// Is the create method available?
|
||||
if (pScopeSet->isMethod(pLoadReadyModuleDefinition->getCreateFunction()))
|
||||
{
|
||||
// Yes, so call the create method.
|
||||
Con::executef(pScopeSet, pLoadReadyModuleDefinition->getCreateFunction());
|
||||
}
|
||||
}
|
||||
|
||||
// Raise notifications.
|
||||
raiseModulePostLoadNotifications( pLoadReadyModuleDefinition );
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue