]> ruin.nu Git - ndwebbie.git/commitdiff
Fix allydef for launch news
authorMichael Andreen <harv@ruin.nu>
Tue, 11 Sep 2007 06:32:36 +0000 (08:32 +0200)
committerMichael Andreen <harv@ruin.nu>
Tue, 11 Sep 2007 06:32:36 +0000 (08:32 +0200)
scripts/scans.pl

index bc9de5716eb5e0b1b9a4d0db21e7ac4398ea6211..5eb746e5d2722b43495909b3080ad781826fb32d 100755 (executable)
@@ -153,7 +153,7 @@ HTML
 
                                        my $eta = $5 - $t;
                                        my $mission = $4;
-                                       $mission = 'AllyDef' if $eta == 7 && $x != $1;
+                                       $mission = 'AllyDef' if $eta == 6 && $x != $1;
                                        $f->execute($t,$eta,$1,$2,$3,$x,$y,$z,-1,$mission) or print $dbh->errstr;
                                        $class = qq{ class="$mission"};
                                }elsif($news eq 'Incoming' && $text =~ m/We have detected an open jumpgate from (?:[^<]*), located at (\d+):(\d+):(\d+). The fleet will approach our system in tick (\d+) and appears to have roughly (\d+) ships/g){