]> ruin.nu Git - ndwebbie.git/blobdiff - NDWeb/Pages/HostileAlliances.pm
Converted editRaid page
[ndwebbie.git] / NDWeb / Pages / HostileAlliances.pm
index 39ee1db6e84be3f519f431446de876c6d12fe696..703e8b71f0cb1700733c14207dc2d73f4ac95291 100644 (file)
@@ -55,11 +55,8 @@ ORDER BY hostilecount DESC
                })or $ND::ERROR .= $DBH->errstr;
        $query->execute($begintick,$endtick) or $ND::ERROR .= $DBH->errstr;
        my @alliances;
-       my $i = 0;
        my $tick = $self->{TICK};
        while (my $alliance = $query->fetchrow_hashref){
-               $i++;
-               $alliance->{ODD} = $i % 2;
                push @alliances, $alliance;
        }
        $BODY->param(Alliances => \@alliances);