Skip to content

Commit b98b006

Browse files
committed
Update py_entitydef.cpp
1 parent 9add08b commit b98b006

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

kbe/src/lib/entitydef/py_entitydef.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1253,6 +1253,9 @@ static bool loadAllScriptForComponentType(COMPONENT_TYPE loadComponentType)
12531253
//-------------------------------------------------------------------------------------
12541254
static bool loadAllScripts()
12551255
{
1256+
if (g_componentType != BASEAPP_TYPE && g_componentType != CELLAPP_TYPE)
1257+
return true;
1258+
12561259
bool otherPartSuccess = loadAllScriptForComponentType(g_componentType);
12571260
if (!otherPartSuccess)
12581261
return false;

0 commit comments

Comments
 (0)