forked from github/server
LUA: export unit::age
This commit is contained in:
parent
85b791afda
commit
a6cc57370f
|
@ -546,6 +546,7 @@ bind_unit(lua_State * L)
|
||||||
.def("set_flag", &set_flag)
|
.def("set_flag", &set_flag)
|
||||||
.def("get_flag", &get_flag)
|
.def("get_flag", &get_flag)
|
||||||
.def_readwrite("flags", &unit::flags)
|
.def_readwrite("flags", &unit::flags)
|
||||||
|
.def_readwrite("age", &unit::age)
|
||||||
|
|
||||||
// items:
|
// items:
|
||||||
.def("get_item", &unit_getitem)
|
.def("get_item", &unit_getitem)
|
||||||
|
|
Loading…
Reference in New Issue