Play the correct race notification when repairing an ally’s structure.

This commit is contained in:
Paul Chote
2014-07-19 15:33:06 +12:00
parent 58abd45ed9
commit c2ba2fe12b

View File

@@ -54,7 +54,7 @@ namespace OpenRA.Mods.RA.Buildings
if (!Repairers.Remove(player) && Repairers.Count < Info.RepairBonuses.Length)
{
Repairers.Add(player);
Sound.PlayNotification(self.World.Map.Rules, player, "Speech", "Repairing", self.Owner.Country.Race);
Sound.PlayNotification(self.World.Map.Rules, player, "Speech", "Repairing", player.Country.Race);
self.World.AddFrameEndTask(w =>
{