Add a number of tests to ensure that only assignable labors are assigned to units, and that only units that are eligible to be assigned labors are considered at all. I borrowed logic from Dwarf Manipulator to identify units eligible to be assigned labors. This should prevent pets., ghosts, visitors, or any other noneligible entities from being assigned labors by labormanager, and should thus fix #1142. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
joblabormapper.cpp | ||
joblabormapper.h | ||
labormanager.cpp | ||
labormanager.h |