Remove super-spammy debug messages.

This commit is contained in:
Paul Chote
2014-07-06 12:18:14 +12:00
parent ff78b0f7ea
commit c8bd8336f7

View File

@@ -579,7 +579,6 @@ namespace OpenRA.Mods.RA.AI
foreach (var a in newUnits) foreach (var a in newUnits)
{ {
BotDebug("AI: Found a newly built unit");
if (a.HasTrait<Harvester>()) if (a.HasTrait<Harvester>())
world.IssueOrder(new Order("Harvest", a, false)); world.IssueOrder(new Order("Harvest", a, false));
else else
@@ -676,10 +675,6 @@ namespace OpenRA.Mods.RA.AI
.Where(rp => rp.Actor.Owner == p && .Where(rp => rp.Actor.Owner == p &&
!IsRallyPointValid(rp.Trait.Location, rp.Actor.Info.Traits.GetOrDefault<BuildingInfo>())).ToArray(); !IsRallyPointValid(rp.Trait.Location, rp.Actor.Info.Traits.GetOrDefault<BuildingInfo>())).ToArray();
if (buildings.Length > 0)
BotDebug("Bot {0} needs to find rallypoints for {1} buildings.",
p.PlayerName, buildings.Length);
foreach (var a in buildings) foreach (var a in buildings)
world.IssueOrder(new Order("SetRallyPoint", a.Actor, false) { TargetLocation = ChooseRallyLocationNear(a.Actor), SuppressVisualFeedback = true }); world.IssueOrder(new Order("SetRallyPoint", a.Actor, false) { TargetLocation = ChooseRallyLocationNear(a.Actor), SuppressVisualFeedback = true });
} }