X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;ds=inline;f=scripts%2Fscans.pl;h=7f80125552b0c40481de3077b69f7044252cd937;hb=44fbe786d3049f2999a288e27bd26a13cfee86b2;hp=182fe088b47a0c07386269932b06a69c890f4500;hpb=b52c7c95096825846f53e73de627e6cda01d9bca;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;