give user info that new map has been downloaded (being in lobby). so he is not confused with the reason of black screen
This commit is contained in:
@@ -321,7 +321,10 @@ namespace OpenRA.Mods.RA.Widgets.Logic
|
|||||||
|
|
||||||
if (!Game.modData.AvailableMaps.ContainsKey (MapUid))
|
if (!Game.modData.AvailableMaps.ContainsKey (MapUid))
|
||||||
if (Game.Settings.Game.AllowDownloading)
|
if (Game.Settings.Game.AllowDownloading)
|
||||||
|
{
|
||||||
Game.DownloadMap (MapUid);
|
Game.DownloadMap (MapUid);
|
||||||
|
Game.Debug("A new map has been downloaded...");
|
||||||
|
}
|
||||||
else
|
else
|
||||||
throw new InvalidOperationException("Server's new map doesn't exist on your system and Downloading turned off");
|
throw new InvalidOperationException("Server's new map doesn't exist on your system and Downloading turned off");
|
||||||
Map = new Map(Game.modData.AvailableMaps[MapUid].Path);
|
Map = new Map(Game.modData.AvailableMaps[MapUid].Path);
|
||||||
|
|||||||
Reference in New Issue
Block a user