Take SpecialPackageRoot into account when installing packages
This commit is contained in:
@@ -165,7 +165,7 @@ namespace OpenRA.Mods.RA.Widgets.Delegates
|
||||
};
|
||||
|
||||
if (Info.InstallMode == "ra")
|
||||
Game.Utilities.InstallRAFilesAsync(path, parseOutput, onComplete);
|
||||
Game.Utilities.InstallRAFilesAsync(path, FileSystem.SpecialPackageRoot+Info.PackagePath, parseOutput, onComplete);
|
||||
else
|
||||
ShowDownloadError("Installing from CD not supported");
|
||||
}
|
||||
@@ -211,7 +211,7 @@ namespace OpenRA.Mods.RA.Widgets.Delegates
|
||||
if (!error)
|
||||
Game.RunAfterTick(() => ContinueLoading(Info));
|
||||
};
|
||||
|
||||
|
||||
Game.RunAfterTick(() => Game.Utilities.ExtractZipAsync(file, FileSystem.SpecialPackageRoot+Info.PackagePath, parseOutput, onComplete));
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user