X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=scripts%2Fscans.pl;h=7f80125552b0c40481de3077b69f7044252cd937;hb=98ebf5c8fb981aaacebab7256bd81f81082072f1;hp=182fe088b47a0c07386269932b06a69c890f4500;hpb=2da66bf59eea885ec18d484c2b961f2f17691534;p=ndwebbie.git diff --git a/scripts/scans.pl b/scripts/scans.pl index 182fe08..7f80125 100755 --- a/scripts/scans.pl +++ b/scripts/scans.pl @@ -203,8 +203,9 @@ while (my $scan = $newscans->fetchrow_hashref){ my $id = addfleet($1,$2,$3,$planet,undef,$tick,undef,undef,$4); $fleetscan->execute($id,$scan->{id}) or die $dbh->errstr; } + } elsif($type eq 'Landing'){ } else { - print "Something wrong with scan $scan->{id} type $type at tick $tick http://game.planetarion.com/showscan.pl?scan_id=$scan->{scan_id}"; + print "Something wrong with scan $scan->{id} type $type at tick $tick http://game.planetarion.com/showscan.pl?scan_id=$scan->{scan_id}\n"; } $parsedscan->execute($tick,$type,$planet,$scan->{id}) or die $dbh->errstr; #$dbh->rollback;