Index: upload.pl
===================================================================
--- upload.pl	(revision 2361)
+++ upload.pl	(working copy)
@@ -53,6 +57,6 @@
 # Group and upload the tiles
 statusMessage("Searching for tiles in $TileDir");
 opendir(my $dp, $TileDir) or die("Can't open directory $TileDir\n");
-my @tiles = grep { /tile_[0-9]*_[0-9]*_[0-9]*\.png$/ } readdir($dp);
+my @tiles = grep { /[^x]*_[0-9]*_[0-9]*_[0-9]*\.png$/ } readdir($dp);
 closedir($dp);
 
@@ -86,9 +93,9 @@
   statusMessage(scalar(@tiles)." tiles to process");
 
   while(($Size < $SizeLimit) && ($Count < $CountLimit) && (my $file = shift @tiles)){
     my $Filename1 = "$TileDir/$file";
     my $Filename2 = "$TempDir/$file";
-    if($file =~ /tile_\d+_\d+_\d+\.png$/i){
+    if($file =~ /tile_\d+_\d+_\d+\.png$/i || $file =~ /maplint_\d+_\d+_\d+\.png$/i){
       $Size += -s $Filename1;
       $Count++;
       
