Add localisation support to transient lines.
This commit is contained in:
committed by
Gustas
parent
43d1a20d8c
commit
1899eed839
@@ -116,7 +116,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
primaryToken = self.GrantCondition(Info.PrimaryCondition);
|
||||
|
||||
Game.Sound.PlayNotification(self.World.Map.Rules, self.Owner, "Speech", Info.SelectionNotification, self.Owner.Faction.InternalName);
|
||||
TextNotificationsManager.AddTransientLine(Info.SelectionTextNotification, self.Owner);
|
||||
TextNotificationsManager.AddTransientLine(self.Owner, Info.SelectionTextNotification);
|
||||
}
|
||||
else if (primaryToken != Actor.InvalidConditionToken)
|
||||
primaryToken = self.RevokeCondition(primaryToken);
|
||||
|
||||
Reference in New Issue
Block a user