]> git.sesse.net Git - remoteglot/commitdiff
Cosmetic improvement for Chess960 games.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 6 Jan 2018 19:23:39 +0000 (20:23 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 6 Jan 2018 19:23:39 +0000 (20:23 +0100)
remoteglot.pl

index 0bfbc4c89dba35c5d7d1986691e0c6ca03df73f0..86334a7e0e4a4f737c74f08b684f9832892053be 100755 (executable)
@@ -290,6 +290,7 @@ sub handle_pgn {
                        my $pos;
                        if (exists($tags->{'FEN'})) {
                                $pos = Position->from_fen($tags->{'FEN'});
+                               $pos->{'last_move'} = 'none';
                                $pos->{'player_w'} = $white;
                                $pos->{'player_b'} = $black;
                                $pos->{'start_fen'} = $tags->{'FEN'};