X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fserver%2Fio.c;h=227be3fd4e192a4886c29617771cc2637a245696;hb=ac7521c1d40b86cd7d33cef590353692542fa0a4;hp=d4c9faf860c4f05ae969a70ca95ef685c882b8fb;hpb=eec39e9d6f991c90c8555859b5f10eb30c0370c1;p=plomrogue diff --git a/src/server/io.c b/src/server/io.c index d4c9faf..227be3f 100644 --- a/src/server/io.c +++ b/src/server/io.c @@ -24,6 +24,7 @@ #include "../common/try_malloc.h" /* try_malloc() */ #include "cleanup.h" /* set_cleanup_flag() */ #include "hardcoded_strings.h" /* s */ +#include "run.h" /* send_to_outfile() */ #include "things.h" /* Thing, ThingType, ThingInMemory, ThingAction, * get_thing_type(), get_player() */ @@ -356,6 +357,7 @@ extern char * io_round() if (world.do_update) { update_worldstate_file(); + send_to_outfile("WORLD_UPDATED\n", 1); world.do_update = 0; } try_growing_queue();