diff --git a/src/runner/gamefeatureswrappers.cpp b/src/runner/gamefeatureswrappers.cpp index 687668e..b21360c 100644 --- a/src/runner/gamefeatureswrappers.cpp +++ b/src/runner/gamefeatureswrappers.cpp @@ -298,10 +298,11 @@ void registerGameFeaturesPythonConverters() .def("getContentsFor", bpy::pure_virtual(&ModDataContent::getContentsFor)) ; - bpy::class_("Content", bpy::init()) + bpy::class_("Content", bpy::init>()) .add_property("id", &ModDataContent::Content::id) .add_property("name", &ModDataContent::Content::name) .add_property("icon", &ModDataContent::Content::icon) + .def("isOnlyForFilter", &ModDataContent::Content::isOnlyForFilter) ; }