You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Short: When there are no maps present in the map folders the game crashes with an exception.
Reproduce
step 1: delete all maps from user/Openra/maps/mod/revision and programs/openra/mod/maps (except shellmaps).
step 2: press load map button in main menu
Noticed this while rebuilding a new mod with ModSDK on a second computer.
Expected: Load maps shows empty screen instead of crashing.
Exception Detail:
Exception of type `System.InvalidOperationException`: Die Sequenz enthält kein übereinstimmendes Element.
bei System.Linq.Enumerable.First[TSource](IEnumerable`1 source, Func`2 predicate)
bei OpenRA.MapCache.ChooseInitialMap(String initialUid, MersenneTwister random) in e:\GitExt\OpenRAModSDK\engine\OpenRA.Game\Map\MapCache.cs:Zeile 333.
bei OpenRA.Mods.Common.Widgets.Logic.MapChooserLogic..ctor(Widget widget, ModData modData, String initialMap, MapClassification initialTab, Action onExit, Action`1 onSelect, MapVisibility filter) in e:\GitExt\OpenRAModSDK\engine\OpenRA.Mods.Common\Widgets\Logic\MapChooserLogic.cs:Zeile 135.
...
The text was updated successfully, but these errors were encountered:
Short: When there are no maps present in the map folders the game crashes with an exception.
Reproduce
step 1: delete all maps from user/Openra/maps/mod/revision and programs/openra/mod/maps (except shellmaps).
step 2: press load map button in main menu
Noticed this while rebuilding a new mod with ModSDK on a second computer.
Expected: Load maps shows empty screen instead of crashing.
Exception Detail:
The text was updated successfully, but these errors were encountered: