fix some debug-channel stuff that beedee missed in rebase

This commit is contained in:
Chris Forbes
2010-06-11 18:00:36 +12:00
parent 3870be5122
commit 5d823d8e6e
3 changed files with 3 additions and 3 deletions

View File

@@ -194,7 +194,7 @@ namespace OpenRA
if (RemoveOnDeath)
World.AddFrameEndTask(w => w.Remove(this));
Log.Write("{0} #{1} killed by {2} #{3}", Info.Name, ActorID, attacker.Info.Name, attacker.ActorID);
Log.Write("debug", "{0} #{1} killed by {2} #{3}", Info.Name, ActorID, attacker.Info.Name, attacker.ActorID);
}
var maxHP = this.GetMaxHP();

View File

@@ -220,7 +220,7 @@ namespace OpenRA.Traits
RemainingCost = TotalCost = cost;
OnComplete = onComplete;
Log.Write("new ProductionItem: {0} time={1} cost={2}", item, time, cost);
Log.Write("debug", "new ProductionItem: {0} time={1} cost={2}", item, time, cost);
}
public void Tick(Player player)

View File

@@ -93,7 +93,7 @@ namespace OpenRA.Traits
foreach (var t in self.traits.WithInterface<INotifyProduction>())
t.UnitProduced(self, newUnit);
Log.Write("{0} #{1} produced by {2} #{3}", newUnit.Info.Name, newUnit.ActorID, self.Info.Name, self.ActorID);
Log.Write("debug", "{0} #{1} produced by {2} #{3}", newUnit.Info.Name, newUnit.ActorID, self.Info.Name, self.ActorID);
return true;
}