]> ruin.nu Git - ndwebbie.git/blobdiff - scripts/fetchdumps.pl
Make use of the newish planet id from stats
[ndwebbie.git] / scripts / fetchdumps.pl
index 883c90f37c2a3edb4822c27d9ea913a91c9b6591..71c0c2b88c350c5eae4f48c88e309e885383d610 100755 (executable)
@@ -55,10 +55,8 @@ for my $type ("planet","alliance","galaxy"){
 }
 
 if ($updated){
-       `perl $FindBin::Bin/parsealliances.pl $updated`;
-       `perl $FindBin::Bin/parseplanets.pl $updated`;
-       `perl $FindBin::Bin/parsegalaxies.pl $updated`;
-       `perl $FindBin::Bin/ndrank.pl`;
+       system("$FindBin::Bin/parsetick.sh", $updated);
+       system("$FindBin::Bin/ndrank.pl");
        $dbh->do(q{UPDATE misc SET value = ? WHERE id = 'TICK'}, undef, $updated);
        system 'killall','-USR1', 'ndbot.pl';
        local $dbh->{Warn} = 0;