Merge pull request #9633 from Mailaender/movement-class-logs
Added the movement classes of the domain index to the debug logs
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user