fix some debug-channel stuff that beedee missed in rebase
This commit is contained in:
@@ -194,7 +194,7 @@ namespace OpenRA
|
|||||||
if (RemoveOnDeath)
|
if (RemoveOnDeath)
|
||||||
World.AddFrameEndTask(w => w.Remove(this));
|
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();
|
var maxHP = this.GetMaxHP();
|
||||||
|
|||||||
@@ -220,7 +220,7 @@ namespace OpenRA.Traits
|
|||||||
RemainingCost = TotalCost = cost;
|
RemainingCost = TotalCost = cost;
|
||||||
OnComplete = onComplete;
|
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)
|
public void Tick(Player player)
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ namespace OpenRA.Traits
|
|||||||
foreach (var t in self.traits.WithInterface<INotifyProduction>())
|
foreach (var t in self.traits.WithInterface<INotifyProduction>())
|
||||||
t.UnitProduced(self, newUnit);
|
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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user