encapsulated searchStopped
This commit is contained in:
1 parent
31de991dc4
commit
ac7325f295
4 files changed
+16
-23
No files matched your search
+1
-1
@@ -159,7 +159,7 @@ void UCILoop(Board &board) {
|
||||
// parse UCI "stop" command
|
||||
if (input.find("stop") != std::string::npos) {
|
||||
// stop the loop
|
||||
SEARCH::StopSearch();
|
||||
ctx.searchStopped = true;
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user