Load the main menu without loading mixes or creating a shellmap world. A giant hack.

This commit is contained in:
Paul Chote
2011-01-19 22:25:04 +13:00
parent 8d2a78abc6
commit 6776d6f906
7 changed files with 148 additions and 132 deletions

View File

@@ -33,7 +33,7 @@ namespace OpenRA.Graphics
terrainRenderer = new TerrainRenderer(world, this);
shroudRenderer = new ShroudRenderer(world);
uiOverlay = new UiOverlay();
palette = new HardwarePalette(world.Map);
this.palette = Game.modData.Palette;
foreach( var pal in world.traitDict.ActorsWithTraitMultiple<IPalette>( world ) )
pal.Trait.InitPalette( this );