|
|
@ -830,6 +830,8 @@ void plPythonFileMod::AddTarget(plSceneObject* sobj) |
|
|
|
// the message that is spammed to anyone who will listen
|
|
|
|
// the message that is spammed to anyone who will listen
|
|
|
|
plgDispatch::Dispatch()->RegisterForExactType(plAIBrainCreatedMsg::Index(), GetKey()); |
|
|
|
plgDispatch::Dispatch()->RegisterForExactType(plAIBrainCreatedMsg::Index(), GetKey()); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
if (fPyFunctionInstances[kfunc_OnSubtitleMsg]) |
|
|
|
|
|
|
|
plgDispatch::Dispatch()->RegisterForExactType(plSubtitleMsg::Index(), GetKey()); |
|
|
|
|
|
|
|
|
|
|
|
// As the last thing... call the OnInit function if they have one
|
|
|
|
// As the last thing... call the OnInit function if they have one
|
|
|
|
if ( fPyFunctionInstances[kfunc_Init] != nil ) |
|
|
|
if ( fPyFunctionInstances[kfunc_Init] != nil ) |
|
|
|