]> git.sesse.net Git - stockfish/blobdiff - src/uci.cpp
Small cleanups
[stockfish] / src / uci.cpp
index 33577a4eca3dac2c9fab4edb7e486bf5c14007db..11d5adc644ebf2ef3693d10c79e50f735bf4196c 100644 (file)
@@ -115,7 +115,7 @@ namespace {
     limits.startTime = now(); // As early as possible!
 
     while (is >> token)
-        if (token == "searchmoves")
+        if (token == "searchmoves") // Needs to be the last command on the line
             while (is >> token)
                 limits.searchmoves.push_back(UCI::to_move(pos, token));