X-Git-Url: https://git.sesse.net/?p=remoteglot;a=blobdiff_plain;f=remoteglot.pl;fp=remoteglot.pl;h=86334a7e0e4a4f737c74f08b684f9832892053be;hp=0bfbc4c89dba35c5d7d1986691e0c6ca03df73f0;hb=9538e715d31e338a2164992775d31a88feeda13f;hpb=749623f7b8722abab1c9c37da4a7c2d7a33bea1c diff --git a/remoteglot.pl b/remoteglot.pl index 0bfbc4c..86334a7 100755 --- a/remoteglot.pl +++ b/remoteglot.pl @@ -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'};