shithub: moonfish

Download patch

ref: 9235e718b5bca7692fea883a24daa21867c61fcd
parent: 9e4066ee69695252c212ed5ecf9b1e346547d2f5
author: zamfofex <zamfofex@twdb.moe>
date: Mon Oct 16 08:52:56 EDT 2023

small fix

--- a/tools/play.c
+++ b/tools/play.c
@@ -559,10 +559,10 @@
 				
 				pthread_mutex_lock(fancy->mutex);
 				
+				fancy->x = 0;
 				moonfish_play(&fancy->chess, &move);
 				moonfish_reset_time(fancy);
 				moonfish_fancy(fancy);
-				fancy->x = 0;
 				
 				pthread_mutex_unlock(fancy->mutex);
 				
--