Store map packages in MapPreview.
This commit is contained in:
@@ -284,7 +284,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
|
||||
string DeleteMap(string map)
|
||||
{
|
||||
var path = Game.ModData.MapCache[map].Path;
|
||||
var path = Game.ModData.MapCache[map].Package.Name;
|
||||
try
|
||||
{
|
||||
if (File.Exists(path))
|
||||
|
||||
Reference in New Issue
Block a user