diff --git a/Sources/Plasma/FeatureLib/pfPython/plPythonFileMod.cpp b/Sources/Plasma/FeatureLib/pfPython/plPythonFileMod.cpp index cfc2dc90..f32d64d5 100644 --- a/Sources/Plasma/FeatureLib/pfPython/plPythonFileMod.cpp +++ b/Sources/Plasma/FeatureLib/pfPython/plPythonFileMod.cpp @@ -830,6 +830,8 @@ void plPythonFileMod::AddTarget(plSceneObject* sobj) // the message that is spammed to anyone who will listen 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 if ( fPyFunctionInstances[kfunc_Init] != nil )