Skip to content

Commit ccae6c7

Browse files
committed
'quit' should exit game in UCI
1 parent 32a5a37 commit ccae6c7

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

Rudim/CLI/UCI/UciClient.cs

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,9 @@ public void Run(string[] parameters)
3030
var command = input[0];
3131
var commandParameters = input.Skip(1).ToArray();
3232

33-
if (command == "exit")
34-
{
35-
Environment.Exit(0);
36-
}
37-
3833
if (command == "quit")
3934
{
40-
// Should quit be exiting the entire application as well?
41-
break;
35+
Environment.Exit(0);
4236
}
4337

4438
if (_commands.ContainsKey(command))

0 commit comments

Comments
 (0)