Fix base opening-stats.pl for the new computer game count.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 20 Dec 2014 00:32:11 +0000 (01:32 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 20 Dec 2014 00:32:11 +0000 (01:32 +0100)
opening-stats.pl

index 581a0e2..def0f8f 100755 (executable)
@@ -24,7 +24,7 @@ print $line, "\n";
 
 chomp ($line = <$chld_out>);  # Actual stats.
 print $line, "\n";
-my ($white, $draw, $black, $opening_num, $white_avg_elo, $black_avg_elo, $num_elo, $timestamp, $pgn_file_number, $pgn_start_position, @moves) = split / /, $line;
+my ($white, $draw, $black, $computer, $opening_num, $white_avg_elo, $black_avg_elo, $num_elo, $timestamp, $pgn_file_number, $pgn_start_position, @moves) = split / /, $line;
 
 # Explore one move out.
 for my $move (@moves) {