| 410 | } |
| 411 | |
| 412 | static void disable_plugin(color_ostream& out) |
| 413 | { |
| 414 | if (config.isValid()) |
| 415 | setOptionEnabled(CF_ENABLED, false); |
| 416 | |
| 417 | enable_autolabor = false; |
| 418 | out << "Disabling autolabor." << std::endl; |
| 419 | |
| 420 | cleanup_state(); |
| 421 | } |
| 422 | |
| 423 | DFhackCExport command_result plugin_init ( color_ostream &out, std::vector <PluginCommand> &commands) |
| 424 | { |
no test coverage detected