mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-13 10:31:29 +00:00
Fix small issue where eqemu_update.pl script would bomb at the very end of the maps download because of blank string [skip ci]
This commit is contained in:
parent
b36d9fe115
commit
6a241d44cc
@ -14,7 +14,7 @@ if($Config{osname}=~/linux/i){ $OS = "Linux"; }
|
||||
if($Config{osname}=~/Win|MS/i){ $OS = "Windows"; }
|
||||
|
||||
#::: If current version is less than what world is reporting, then download a new one...
|
||||
$current_version = 3;
|
||||
$current_version = 2;
|
||||
|
||||
if($ARGV[0] eq "V"){
|
||||
if($ARGV[1] > $current_version){
|
||||
@ -362,7 +362,10 @@ sub MapFiles_Fetch{
|
||||
}
|
||||
#::: Download
|
||||
for($m = 0; $m <= $i; $m++){
|
||||
GetRemoteFile("https://raw.githubusercontent.com/Akkadius/EQEmuMaps/master/" . $maps_manifest[$m], "maps/" . $maps_manifest[$m]);
|
||||
print "'" . $maps_manifest[$m] . "'\n";
|
||||
if($maps_manifest[$m] ne ""){
|
||||
GetRemoteFile("https://raw.githubusercontent.com/Akkadius/EQEmuMaps/master/" . $maps_manifest[$m], "maps/" . $maps_manifest[$m]);
|
||||
}
|
||||
}
|
||||
|
||||
print "\n --- Done Fetching Latest Maps --- \n";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user