X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fserver%2Fio.h;h=2f8397fa2da941b8689b681a109e5593da10355b;hb=37382f424bcfc92dcb2ef291bcce3aca8aa0772a;hp=82117538c4bd2a87b877b777fba21db58120eedb;hpb=1bfcaf6f47bb2eb06c071e39b6f93c92a15d4de6;p=plomrogue diff --git a/src/server/io.h b/src/server/io.h index 8211753..2f8397f 100644 --- a/src/server/io.h +++ b/src/server/io.h @@ -10,10 +10,9 @@ /* Return single \0-terminated string read from input queue (world.queue); or, - * if queue is empty and world.turn is unequal world.last_update_turn, update - * world state file (and world.last_update_turn) and write a single dot line to - * server out file, then read server in file for the next load of bytes to put - * onto the input queue. + * if queue is empty and world.do_update is set, update world state file (and + * unset world.do_update) and write a single dot line to server out file, then + * read server in file for the next load of bytes to put onto the input queue. * * Reading the server in file may put many \0-terminated strings on the queue at * once. Successive calls of io_round() will make these available one by one.