diff options
Diffstat (limited to 'src/UCI.cpp')
| -rw-r--r-- | src/UCI.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/UCI.cpp b/src/UCI.cpp index 7318f81..ebb8eb5 100644 --- a/src/UCI.cpp +++ b/src/UCI.cpp @@ -237,7 +237,9 @@ void UCI::debug(bool d) { } } void UCI::ponderhit() { Command("ponderhit"); } -void UCI::quit() { Command("quit"); } +void UCI::quit() { + p->Write(cmd + "\n"); // Note that we should no do a sync! +} void UCI::ucinewgame() { Command("ucinewgame"); } void UCI::position(std::string fen, std::string moves) { position(fen + " moves " + moves); |
