Prevent game from starting with unavailable map

This commit is contained in:
Gustas
2022-05-08 22:53:38 +03:00
committed by Matthias Mailänder
parent 7f404f64a6
commit 43e0cca663
2 changed files with 17 additions and 0 deletions

View File

@@ -173,6 +173,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
retry.OnClick = () =>
{
modData.MapCache.UpdateMaps();
var (map, _) = getMap();
if (map.Status == MapStatus.DownloadError)
{