| 79 | } |
| 80 | |
| 81 | DFhackCExport command_result plugin_shutdown(color_ostream &out) { |
| 82 | DEBUG(status, out).print("shutting down {}\n", plugin_name); |
| 83 | reset(); |
| 84 | return CR_OK; |
| 85 | } |
| 86 | |
| 87 | DFhackCExport command_result plugin_onstatechange(color_ostream &out, state_change_event event) { |
| 88 | if (event == DFHack::SC_WORLD_UNLOADED) |