mirror of
https://github.com/worldforge/cyphesis
synced 2026-08-13 12:26:04 -04:00
Improve Python types.
This commit is contained in:
parent
3fe05cd2f3
commit
bfc4e18b29
4 changed files with 162 additions and 20 deletions
|
|
@ -131,5 +131,5 @@ Py::Object CyPy_Entity::mod_property(const Ref<Entity>& entity, const Py::Tuple&
|
|||
if (prop->get(value) != 0) {
|
||||
throw Py::RuntimeError(String::compose("Could not create property '%1'.", name));
|
||||
}
|
||||
return CyPy_Element::asPyObject(value);
|
||||
return CyPy_Element::asPyObject(value, false);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue