Fix for map download

This commit is contained in:
Akkadius 2018-05-28 01:46:50 -05:00
parent ac25d49a62
commit 7d0b7560bc

View File

@ -1546,9 +1546,9 @@ sub map_files_fetch_bulk{
);
for my $file (@files) {
$destination_file = $file;
$destination_file =~s/maps\/EQEmuMaps-master\/maps\///g;
$destination_file =~s/maps\/EQEmuMaps-master\///g;
print "[Install] Installing :: " . $destination_file . "\n";
copy_file($file, "maps/" . $new_file);
copy_file($file, "maps/" . $destination_file);
}
print "[Install] Fetched Latest Maps\n";
@ -2396,4 +2396,4 @@ sub quest_heading_convert {
print get_mysql_result("INSERT INTO `variables` (varname, value, information, ts) VALUES ('new_heading_conversion', 'true', 'Script ran against quests folder to convert new heading values', NOW())");
print "Total matches: " . $total_matches . "\n";
}
}