mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-11-08 10:29:00 +00:00
Fix generating Mediterranean
Removing this `printDuration` was forgotten in a80446eb59.
This commit is contained in:
1 file changed
+2
-1
@@ -191,7 +191,7 @@ export function* generateMap(mapSettings)
|
||||
g_Map.log("Flatten the initial CC area and placing playerbases");
|
||||
for (let i = 0; i < getNumPlayers(); ++i)
|
||||
{
|
||||
g_Map.logger.printDuration();
|
||||
Engine.ProfileStart("Placing base");
|
||||
setBiome(climateZones.find(zone => zone.tileClass.has(playerPosition[i])).biome);
|
||||
|
||||
createArea(
|
||||
@@ -200,6 +200,7 @@ export function* generateMap(mapSettings)
|
||||
new SmoothElevationPainter(ELEVATION_SET, g_Map.getHeight(playerPosition[i]), 6));
|
||||
|
||||
createBase(playerIDs[i], playerPosition[i], mapSize >= 384);
|
||||
Engine.ProfileStop();
|
||||
}
|
||||
}
|
||||
yield 50;
|
||||
|
||||
Reference in new issue
Block a user