From 10ec82d1bb07c6f221c0fcc2033182b726f335f2 Mon Sep 17 00:00:00 2001 From: Igor Popov Date: Sat, 23 Mar 2013 19:46:41 +0400 Subject: [PATCH] give user info that new map has been downloaded (being in lobby). so he is not confused with the reason of black screen --- OpenRA.Mods.RA/Widgets/Logic/LobbyLogic.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/OpenRA.Mods.RA/Widgets/Logic/LobbyLogic.cs b/OpenRA.Mods.RA/Widgets/Logic/LobbyLogic.cs index 04ce580b5c..b286a304b3 100644 --- a/OpenRA.Mods.RA/Widgets/Logic/LobbyLogic.cs +++ b/OpenRA.Mods.RA/Widgets/Logic/LobbyLogic.cs @@ -321,7 +321,10 @@ namespace OpenRA.Mods.RA.Widgets.Logic if (!Game.modData.AvailableMaps.ContainsKey (MapUid)) if (Game.Settings.Game.AllowDownloading) + { Game.DownloadMap (MapUid); + Game.Debug("A new map has been downloaded..."); + } else 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);