Remove extra log statement, reorder changelog

ref #1753
develop
lethosor 2021-01-30 18:08:17 -05:00
parent 9d0eacadbf
commit 62870e9aee
No known key found for this signature in database
GPG Key ID: 76A269552F4F58C1
2 changed files with 3 additions and 11 deletions

@ -35,9 +35,9 @@ changelog.txt uses a syntax similar to RST, with a few special sequences:
## Fixes ## Fixes
- `embark-assistant`: fixed order of factors when calculating min temperature - `embark-assistant`: fixed order of factors when calculating min temperature
- `seedwatch`: don't turn off upon map load
- `embark-assistant`: improved performance of surveying - `embark-assistant`: improved performance of surveying
- `quickfort`: creating zones no longer causes eventual crashes - `quickfort`: creating zones no longer causes eventual crashes
- `seedwatch`: fixed an issue where the plugin would disable itself on map load
- `search`: fixed crash when searching the ``k`` sidebar and navigating to another tile with certain keys, like ``<`` or ``>`` - `search`: fixed crash when searching the ``k`` sidebar and navigating to another tile with certain keys, like ``<`` or ``>``
- `stockflow`: fixed ``j`` character being intercepted when naming stockpiles - `stockflow`: fixed ``j`` character being intercepted when naming stockpiles

@ -296,18 +296,10 @@ DFhackCExport command_result plugin_init(color_ostream &out, vector<PluginComman
DFhackCExport command_result plugin_onstatechange(color_ostream &out, state_change_event event) DFhackCExport command_result plugin_onstatechange(color_ostream &out, state_change_event event)
{ {
switch (event) { if (event == SC_MAP_UNLOADED) {
case SC_MAP_LOADED:
if(running)
out.print("seedwatch supervision started.\n");
break;
case SC_MAP_UNLOADED:
if (running) if (running)
out.printerr("seedwatch deactivated due to game unload\n"); out.print("seedwatch deactivated due to game unload\n");
running = false; running = false;
break;
default:
break;
} }
return CR_OK; return CR_OK;