]> git.sesse.net Git - wloh/blobdiff - train.pl
Minor JavaScript refactoring.
[wloh] / train.pl
index 9238b61cb73ef1e6945c352a46f5f04f257906e3..d128d58cd1f25bb876eb0db428d8c303048e1802 100755 (executable)
--- a/train.pl
+++ b/train.pl
@@ -37,6 +37,7 @@ while (my $ref = $q->fetchrow_hashref) {
        next if ($ref->{'maalfor'} == 150 && $ref->{'maalmot'} == 0);
        next if ($ref->{'maalfor'} == 0 && $ref->{'maalmot'} == 150);
        next if ($ref->{'maalfor'} == 150 && $ref->{'maalmot'} == 150);
+       next if ($ref->{'maalfor'} == 0 && $ref->{'maalmot'} == 0);
        push @games, { %$ref };
        $ids{$ref->{'p1'}} = 1;
        $ids{$ref->{'p2'}} = 1;