| 290 | }; |
| 291 | |
| 292 | static void cleanup_state() |
| 293 | { |
| 294 | enable_autolabor = false; |
| 295 | labor_infos.clear(); |
| 296 | |
| 297 | // reinstate DF's work detail system |
| 298 | game->external_flag.bits.automatic_professions_disabled = false; |
| 299 | } |
| 300 | |
| 301 | static void reset_labor(df::unit_labor labor) |
| 302 | { |
no test coverage detected