Avoid format strings in some places.

Where it is possible to directly concat strings, prefer this in some often-called methods.
This commit is contained in:
RoosterDragon
2017-12-15 19:27:27 +00:00
committed by Matthias Mailänder
parent f78c3bef33
commit 5b51f2a0fa
2 changed files with 2 additions and 2 deletions

View File

@@ -475,6 +475,6 @@ namespace OpenRA
public bool Equals(TraitPair<T> other) { return this == other; }
public override bool Equals(object obj) { return obj is TraitPair<T> && Equals((TraitPair<T>)obj); }
public override string ToString() { return "{0}->{1}".F(Actor.Info.Name, Trait.GetType().Name); }
public override string ToString() { return Actor.Info.Name + "->" + Trait.GetType().Name; }
}
}