Do not use the map's rules when rendering the minimap in the map chooser

Using the mod's rules is *a lot* faster because we don't have to load
each map's rules.
This commit is contained in:
Pavlos Touboulidis
2014-05-14 23:56:00 +03:00
parent ca44be7b2e
commit df6159f12b
4 changed files with 12 additions and 7 deletions

View File

@@ -76,7 +76,7 @@ namespace OpenRA.Editor
try
{
var tileset = Program.Rules.TileSets[map.Tileset];
MiniMapBox.Image = Minimap.AddStaticResources(tileset, map, Minimap.TerrainBitmap(tileset, map, true));
MiniMapBox.Image = Minimap.RenderMapPreview(tileset, map, true);
}
catch (Exception ed)
{