Expose player names to localization.
This commit is contained in:
committed by
Gustas
parent
9a46f3053a
commit
4e5556dccc
@@ -28,7 +28,7 @@ namespace OpenRA.Mods.Common.Scripting
|
||||
public string InternalName => Player.InternalName;
|
||||
|
||||
[Desc("The player's name.")]
|
||||
public string Name => Player.PlayerName;
|
||||
public string Name => Player.ResolvedPlayerName;
|
||||
|
||||
[Desc("The player's color.")]
|
||||
public Color Color => Player.GetColor(Player);
|
||||
|
||||
Reference in New Issue
Block a user