summaryrefslogtreecommitdiff
path: root/library/LuaApi.cpp
diff options
context:
space:
mode:
authorAlexander Gavrilov2012-05-22 12:31:37 +0400
committerAlexander Gavrilov2012-05-22 12:31:37 +0400
commit9adf310d7f162ba58da764bed2c918487c692f6b (patch)
treed253f45cf76c8bae4f4926eb0f841eebf3dc5deb /library/LuaApi.cpp
parent20794ebf191d21d5acce274d70bdad4012deaa44 (diff)
downloaddfhack-9adf310d7f162ba58da764bed2c918487c692f6b.tar.gz
dfhack-9adf310d7f162ba58da764bed2c918487c692f6b.tar.bz2
dfhack-9adf310d7f162ba58da764bed2c918487c692f6b.tar.xz
Update Units::isCitizen after looking at game-over detection code.
Diffstat (limited to 'library/LuaApi.cpp')
-rw-r--r--library/LuaApi.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/LuaApi.cpp b/library/LuaApi.cpp
index 6a550db8..8e8a3c4e 100644
--- a/library/LuaApi.cpp
+++ b/library/LuaApi.cpp
@@ -715,6 +715,8 @@ static const LuaWrapper::FunctionReg dfhack_units_module[] = {
WRAPM(Units, isDead),
WRAPM(Units, isAlive),
WRAPM(Units, isSane),
+ WRAPM(Units, isDwarf),
+ WRAPM(Units, isCitizen),
WRAPM(Units, getAge),
WRAPM(Units, getProfessionName),
WRAPM(Units, getCasteProfessionName),