diff --git a/src/eressea/lua/unit.cpp b/src/eressea/lua/unit.cpp index db793a1c1..6c905022c 100644 --- a/src/eressea/lua/unit.cpp +++ b/src/eressea/lua/unit.cpp @@ -281,6 +281,7 @@ bind_unit(lua_State * L) .def_readonly("faction", &unit::faction) .def_readonly("id", &unit::no) .def_readwrite("hp", &unit::hp) + .def_readwrite("status", &unit::status) .def("get_item", &unit_getitem) .def("add_item", &unit_additem) .def("get_skill", &unit_getskill)