|
|
@ -283,9 +283,9 @@ DFhackCExport command_result plugin_onstatechange(color_ostream &out, state_chan
|
|
|
|
{
|
|
|
|
{
|
|
|
|
switch (event) {
|
|
|
|
switch (event) {
|
|
|
|
case SC_MAP_LOADED:
|
|
|
|
case SC_MAP_LOADED:
|
|
|
|
if(running)
|
|
|
|
if(running)
|
|
|
|
out.print("seedwatch supervision started.\n");
|
|
|
|
out.print("seedwatch supervision started.\n");
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case SC_MAP_UNLOADED:
|
|
|
|
case SC_MAP_UNLOADED:
|
|
|
|
if (running)
|
|
|
|
if (running)
|
|
|
|
out.printerr("seedwatch deactivated due to game load/unload\n");
|
|
|
|
out.printerr("seedwatch deactivated due to game load/unload\n");
|
|
|
|