summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortomsmeding <tom.smeding@gmail.com>2019-02-16 18:20:52 +0100
committertomsmeding <tom.smeding@gmail.com>2019-02-16 18:20:52 +0100
commit56dfacebe34bac5ab53108e34b7872fee78ddf65 (patch)
treeb99cfc8749b3fc69b606c2facb5a2ba88eee45d4
parent7f5a12b03b46b140f7f324b20763a77df4eb94ea (diff)
Write Quit, not Stop, on end
My AI's seem ready for this; they never worked with Stop anyway.
-rw-r--r--main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index ecd12f7..fa07cf4 100644
--- a/main.cpp
+++ b/main.cpp
@@ -326,7 +326,7 @@ static void playMatch(Player &p1, Player &p2, int index, const Params &params) {
match_done:
for (int i = 0; i < 2; i++) {
- bool success = procs[i].writeLine("Stop");
+ bool success = procs[i].writeLine("Quit");
procs[i].unStop();
if (success) usleep(10000);
int ret = procs[i].terminate();