Print actor information instead of the function name.

This commit is contained in:
Matthias Mailänder
2016-05-15 15:25:07 +02:00
parent 3c7871b352
commit fc523ae953

View File

@@ -167,5 +167,10 @@ namespace OpenRA.Mods.Common.Traits
{ {
return new ActorReference(actor.Type, actor.Save().ToDictionary()); return new ActorReference(actor.Type, actor.Save().ToDictionary());
} }
public override string ToString()
{
return "{0} {1}".F(Info.Name, ID);
}
} }
} }