From 804c3f70dfd6575f18763df88d475e5190d97d3c Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Mon, 22 Dec 2014 00:54:05 +0100 Subject: [PATCH] Fix a warning. --- www/opening-stats.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/opening-stats.pl b/www/opening-stats.pl index ad578a0..696bfa1 100755 --- a/www/opening-stats.pl +++ b/www/opening-stats.pl @@ -69,7 +69,7 @@ for my $move (@{$root_aux_data->{'moves'}}) { } # Get stats for the root position, for the human index. -my $start_pos = Position->start_pos; +my $start_pos = Position->start_pos("white", "black"); my ($json_start_pos, undef) = get_json_move($start_pos, 0, $chld_in, $chld_out); my $total_games = $json_start_pos->{'white'} + $json_start_pos->{'draw'} + $json_start_pos->{'black'}; my $computer_games = $json_start_pos->{'computer'} * 1; -- 2.39.2