]> ruin.nu Git - ndwebbie.git/blobdiff - NDWeb/Pages/TargetList.pm
Use list_context variables instead of homebrewed ODD
[ndwebbie.git] / NDWeb / Pages / TargetList.pm
index 64fed86b117e187a0f3bccfbbb1f18b0e564daa8..f321a927268b4b48db1b0bdf2654695405de6a7d 100644 (file)
@@ -66,10 +66,7 @@ ORDER BY $order
                });
        $query->execute;
        my @alliances;
-       my $i = 0;
        while (my $alliance = $query->fetchrow_hashref){
-               $i++;
-               $alliance->{ODD} = $i % 2;
                push @alliances,$alliance;
        }
        $BODY->param(Alliances => \@alliances);