Blender Py API: GameLogic -> bge.logic
This commit is contained in:
@@ -178,7 +178,7 @@ PyObject* SCA_PythonController::sPyGetCurrentController(PyObject *self)
|
||||
{
|
||||
if(m_sCurrentController==NULL)
|
||||
{
|
||||
PyErr_SetString(PyExc_SystemError, "GameLogic.getCurrentController(), this function is being run outside the python controllers context, or blenders internal state is corrupt.");
|
||||
PyErr_SetString(PyExc_SystemError, "bge.logic.getCurrentController(), this function is being run outside the python controllers context, or blenders internal state is corrupt.");
|
||||
return NULL;
|
||||
}
|
||||
return m_sCurrentController->GetProxy();
|
||||
|
||||
Reference in New Issue
Block a user