diff --git a/docs/fake/rollnw/kernel.py b/docs/fake/rollnw/kernel.py index 5bbc3b701..1f49e2e05 100644 --- a/docs/fake/rollnw/kernel.py +++ b/docs/fake/rollnw/kernel.py @@ -185,6 +185,9 @@ class Resources(Container): """Resources service """ + def __init__(self, parent: "Resources"): + """Constructs resoruce manager with a given parent.""" + def demand_any(self, resref: str, restypes: List[ResourceType]) -> ResourceData: """Gets the first found resource in container priority order for an arbitrary list diff --git a/rollnw-py/wrapper_kernel.cpp b/rollnw-py/wrapper_kernel.cpp index da8830236..550d49265 100644 --- a/rollnw-py/wrapper_kernel.cpp +++ b/rollnw-py/wrapper_kernel.cpp @@ -139,7 +139,6 @@ void init_kernel_objects(py::module& kernel) void init_kernel_resources(py::module& kernel) { py::class_(kernel, "Resources") - .def(py::init<>()) .def(py::init(), py::keep_alive<1, 2>()) .def("demand_any", &nw::kernel::Resources::demand_any)