]> ruin.nu Git - ndwebbie.git/blobdiff - resources.pl
minor things
[ndwebbie.git] / resources.pl
index 5e63b7a5d3d6583c405101a982b668f39cf5ff97..486cc13eab8cb48d21606e9a7d5d1a11832b89da 100644 (file)
@@ -50,9 +50,9 @@ $query->execute;
 my @alliances;
 my $i = 0;
 while (my $alliance = $query->fetchrow_hashref){
+       $i++;
        $alliance->{ODD} = $i % 2;
        push @alliances,$alliance;
-       $i++
 }
 $BODY->param(Alliances => \@alliances);