From 024a333194652cbdc38a60d7ca349e75d8360f46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=C3=ABl=20Capelle?= Date: Wed, 27 May 2020 22:44:32 +0200 Subject: [PATCH] Update to match game features. --- src/runner/gamefeatureswrappers.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) ; }