X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=NDWeb%2FPages%2FHostileAlliances.pm;h=703e8b71f0cb1700733c14207dc2d73f4ac95291;hb=57f880656c4486f68583058121a5bcb3b316199c;hp=39ee1db6e84be3f519f431446de876c6d12fe696;hpb=a074bd17f5e8ba341a22bbfca1da7093b8351774;p=ndwebbie.git diff --git a/NDWeb/Pages/HostileAlliances.pm b/NDWeb/Pages/HostileAlliances.pm index 39ee1db..703e8b7 100644 --- a/NDWeb/Pages/HostileAlliances.pm +++ b/NDWeb/Pages/HostileAlliances.pm @@ -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);