also mention the movement class of the domain index in logs

This commit is contained in:
Matthias Mailänder
2015-10-14 20:34:20 +02:00
parent 410f121a1e
commit e0fa63ae19

View File

@@ -63,7 +63,7 @@ namespace OpenRA.Mods.Common.Traits
domains = new CellLayer<int>(world.Map);
transientConnections = new Dictionary<int, HashSet<int>>();
using (new PerfTimer("BuildDomains: {0}".F(world.Map.Title)))
using (new PerfTimer("BuildDomains: {0} for movement class {1}".F(world.Map.Title, movementClass)))
BuildDomains(world);
}
@@ -216,7 +216,7 @@ namespace OpenRA.Mods.Common.Traits
domain += 1;
}
Log.Write("debug", "Found {0} domains on map {1}.", domain - 1, map.Title);
Log.Write("debug", "Found {0} domains for movement class {1} on map {2}.", domain - 1, movementClass, map.Title);
}
}
}