]> git.sesse.net Git - remoteglot/blobdiff - Position.pm
Do not show seconds in the clocks; a bit too distracting.
[remoteglot] / Position.pm
index 9333bcd58af514badb9a7b31463a4c00763da609..2e368f29fbbf7d8110edcc9c91472dc1821e5ae9 100644 (file)
@@ -28,6 +28,8 @@ sub new {
        $pos->{'player_b'} = $x[18];
        $pos->{'player_w'} =~ s/^W?[FCIG]M//;
        $pos->{'player_b'} =~ s/^W?[FCIG]M//;
+       $pos->{'white_clock'} = $x[24];
+       $pos->{'black_clock'} = $x[25];
        $pos->{'move_num'} = $x[26];
        if ($x[27] =~ /([a-h][1-8])-([a-h][1-8])/) {
                $pos->{'last_move_uci'} = $1 . $2;