Unify AIUtils.BotDebug prefixes.

This commit is contained in:
Matthias Mailänder
2020-07-19 23:09:27 +02:00
committed by abcdefg30
parent b7c7eff2a2
commit a4fc9fea3b
5 changed files with 16 additions and 16 deletions

View File

@@ -37,8 +37,8 @@ namespace OpenRA.Mods.Common.Traits
{
if (e.DamageState > DamageState.Light && e.PreviousDamageState <= DamageState.Light && !rb.RepairActive)
{
AIUtils.BotDebug("Bot noticed damage {0} {1}->{2}, repairing.",
self, e.PreviousDamageState, e.DamageState);
AIUtils.BotDebug("{0} noticed damage {1} {2}->{3}, repairing.",
self.Owner, self, e.PreviousDamageState, e.DamageState);
bot.QueueOrder(new Order("RepairBuilding", self.Owner.PlayerActor, Target.FromActor(self), false));
}
}