encapsulated searchStopped

This commit is contained in:
rektdie committed 2025-04-11 03:48:45 +02:00
1 parent 31de991dc4
commit ac7325f295
4 files changed
+16 -23

No files matched your search

+1 -1
View File
@@ -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;
}