Style fixes
This commit is contained in:
@@ -248,9 +248,7 @@ namespace OpenRA
|
||||
|
||||
Map map;
|
||||
using (new PerfTimer("PrepareMap"))
|
||||
{
|
||||
map = modData.PrepareMap(mapUID);
|
||||
}
|
||||
using (new PerfTimer("NewWorld"))
|
||||
{
|
||||
orderManager.world = new World(modData.Manifest, map, orderManager, isShellmap);
|
||||
@@ -258,9 +256,7 @@ namespace OpenRA
|
||||
}
|
||||
worldRenderer = new WorldRenderer(orderManager.world);
|
||||
using (new PerfTimer("LoadComplete"))
|
||||
{
|
||||
orderManager.world.LoadComplete(worldRenderer);
|
||||
}
|
||||
|
||||
if (orderManager.GameStarted)
|
||||
return;
|
||||
@@ -396,9 +392,7 @@ namespace OpenRA
|
||||
Renderer.InitializeFonts(modData.Manifest);
|
||||
modData.InitializeLoaders();
|
||||
using (new PerfTimer("LoadMaps"))
|
||||
{
|
||||
modData.MapCache.LoadMaps();
|
||||
}
|
||||
|
||||
PerfHistory.items["render"].hasNormalTick = false;
|
||||
PerfHistory.items["batches"].hasNormalTick = false;
|
||||
@@ -449,12 +443,10 @@ namespace OpenRA
|
||||
|
||||
public static void LoadShellMap()
|
||||
{
|
||||
string shellMap = ChooseShellmap();
|
||||
var shellmap = ChooseShellmap();
|
||||
|
||||
using (new PerfTimer("StartGame"))
|
||||
{
|
||||
StartGame(shellMap, true);
|
||||
}
|
||||
StartGame(shellmap, true);
|
||||
}
|
||||
|
||||
static string ChooseShellmap()
|
||||
|
||||
Reference in New Issue
Block a user