]> git.sesse.net Git - remoteglot/commitdiff
Update the list of manual move extensions even if the FEN did not change.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 27 Dec 2023 10:24:26 +0000 (11:24 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 7 Feb 2024 16:47:46 +0000 (17:47 +0100)
This makes it easier to see how far behind the feed is.

remoteglot.pl

index 663b2d56b44736db3e70adc6b5722efd4bb5641e..08e03ea876748cf8a7dd9c6b16d9a840f711536b 100755 (executable)
@@ -268,6 +268,7 @@ sub handle_position {
                for my $key ('white_clock', 'black_clock', 'white_clock_target', 'black_clock_target') {
                        $pos_calculating->{$key} //= $pos->{$key};
                }
+               $pos_calculating->{'extra_moves'} = $pos->{'extra_moves'};
                return;
        }