shithub: moonfish

Download patch

ref: 2118580d6ab454e165c7a84de6a604f96bc73850
parent: aa95366e8fc94f6291fb2d7aebc27bc9810120c7
author: zamfofex <zamfofex@twdb.moe>
date: Wed Feb 7 16:06:20 EST 2024

fix automatic color selection for ‘play’

--- a/tools/play.c
+++ b/tools/play.c
@@ -316,7 +316,7 @@
 	{
 		{"F", "fen", "<FEN>", NULL, "starting position for the game"},
 		{"T", "time", "<time-control>", "15+10", "time control in minutes with increment in seconds (default: '15+10')"},
-		{"C", "color", "<color>", "white", "which color you are going to play as"},
+		{"C", "color", "<color>", NULL, "which color you are going to play as"},
 		{NULL, NULL, NULL, NULL, NULL},
 	};
 	
--