Merge pull request #5990 from pchote/repair-fix

Play the correct race notification when repairing an ally’s structure.
This commit is contained in:
Matthias Mailänder
2014-07-19 08:08:05 +02:00

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 =>
{