]> git.sesse.net Git - remoteglot-book/commitdiff
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 581a0e26baa43f23f0a2c058e6ba88bb2561d5a4..def0f8f67fb40626b1928f0e6ff189ee25366974 100755 (executable)
@@ -24,7 +24,7 @@ print $line, "\n";
 
 chomp ($line = <$chld_out>);  # Actual stats.
 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) {
 
 # Explore one move out.
 for my $move (@moves) {