diff --git a/src/runner/pythonrunner.cpp b/src/runner/pythonrunner.cpp index 404f299..8014846 100644 --- a/src/runner/pythonrunner.cpp +++ b/src/runner/pythonrunner.cpp @@ -32,10 +32,6 @@ #include "variant_helper.h" #include "converters.h" -MOBase::IOrganizer *s_Organizer = nullptr; - - - using namespace MOBase; namespace bpy = boost::python; @@ -744,7 +740,6 @@ private: IPythonRunner* CreatePythonRunner(MOBase::IOrganizer* moInfo, const QString& pythonDir) { - s_Organizer = moInfo; PythonRunner* result = new PythonRunner(moInfo); if (result->initPython(pythonDir)) { return result; diff --git a/src/runner/uibasewrappers.h b/src/runner/uibasewrappers.h index d7e4397..a2904f9 100644 --- a/src/runner/uibasewrappers.h +++ b/src/runner/uibasewrappers.h @@ -29,8 +29,6 @@ #include "gilock.h" #include "pythonwrapperutilities.h" -extern MOBase::IOrganizer *s_Organizer; - // This needs to be extendable in Python, so actually needs a wrapper (everything else probably doesn't): class ISaveGameWrapper : public MOBase::ISaveGame, public boost::python::wrapper {