mirror of
https://github.com/sockspls/badfish
synced 2025-04-30 08:43:09 +00:00
Silently handle "ucinewgame" command
Avoid returning "Unknown command", it seems some GUI are misguided by this. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
46a50cbf38
commit
d6e3a40c81
1 changed files with 3 additions and 0 deletions
|
@ -88,6 +88,9 @@ void uci_loop() {
|
|||
else if (token == "go")
|
||||
go(pos, is);
|
||||
|
||||
else if (token == "ucinewgame")
|
||||
{ /* Avoid returning "Unknown command" */ }
|
||||
|
||||
else if (token == "isready")
|
||||
cout << "readyok" << endl;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue