diff --git a/src/runner/uibasewrappers.h b/src/runner/uibasewrappers.h index b05501f..18d4ed5 100644 --- a/src/runner/uibasewrappers.h +++ b/src/runner/uibasewrappers.h @@ -228,7 +228,7 @@ struct IOrganizerWrapper: MOBase::IOrganizer, boost::python::wrapper &func) override { return this->get_override("onAboutToRun")(func); } virtual bool onFinishedRun(const std::function &func) override { return this->get_override("onFinishedRun")(func); } virtual bool onModInstalled(const std::function &func) override { return this->get_override("onModInstalled")(func); } - virtual MOBase::IProfile *profile() override { return this->get_override("profile")(); } + virtual MOBase::IProfile *profile() const override { return this->get_override("profile")(); } virtual MOBase::IPluginGame const *managedGame() const override { return this->get_override("managedGame")(); } };