From 7d0b7560bc370775418536cff0ed2825770155bb Mon Sep 17 00:00:00 2001 From: Akkadius Date: Mon, 28 May 2018 01:46:50 -0500 Subject: [PATCH] Fix for map download --- utils/scripts/eqemu_server.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/utils/scripts/eqemu_server.pl b/utils/scripts/eqemu_server.pl index 8921cf89f..9201a9e27 100644 --- a/utils/scripts/eqemu_server.pl +++ b/utils/scripts/eqemu_server.pl @@ -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"; -} \ No newline at end of file +}