diff options
| author | Alexander Gavrilov | 2012-04-21 15:43:52 +0400 |
|---|---|---|
| committer | Alexander Gavrilov | 2012-04-21 15:43:52 +0400 |
| commit | 3282ac3db216ef43cab5744631b57ed05bcf8a12 (patch) | |
| tree | 330517cf6663113e0b9f4a575209ab658c5003d4 /library/LuaApi.cpp | |
| parent | adbd351462f71db6a98b681eb9336524cc530092 (diff) | |
| download | dfhack-3282ac3db216ef43cab5744631b57ed05bcf8a12.tar.gz dfhack-3282ac3db216ef43cab5744631b57ed05bcf8a12.tar.bz2 dfhack-3282ac3db216ef43cab5744631b57ed05bcf8a12.tar.xz | |
Add a hotkey command that sorts units in lists using lua comparators.
Diffstat (limited to 'library/LuaApi.cpp')
| -rw-r--r-- | library/LuaApi.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/LuaApi.cpp b/library/LuaApi.cpp index ccd057c9..00192c05 100644 --- a/library/LuaApi.cpp +++ b/library/LuaApi.cpp @@ -615,6 +615,7 @@ static const LuaWrapper::FunctionReg dfhack_units_module[] = { WRAPM(Units, clearBurrowMembers), WRAPM(Units, isInBurrow), WRAPM(Units, setInBurrow), + WRAPM(Units, getAge), { NULL, NULL } }; |
