Merge pull request #8714 from matija-hustic/spy_veterancy_leftovers

Spy veterancy leftovers
This commit is contained in:
Oliver Brakmann
2015-07-14 22:17:11 +02:00
2 changed files with 6 additions and 5 deletions

View File

@@ -95,12 +95,12 @@ namespace OpenRA.Mods.Common.Traits
foreach (var u in upgrades)
um.GrantUpgrade(self, u, this);
}
if (!silent)
{
Sound.PlayNotification(self.World.Map.Rules, self.Owner, "Sounds", "LevelUp", self.Owner.Country.InternalName);
self.World.AddFrameEndTask(w => w.Add(new CrateEffect(self, "levelup", info.LevelUpPalette)));
if (!silent)
{
Sound.PlayNotification(self.World.Map.Rules, self.Owner, "Sounds", "LevelUp", self.Owner.Country.InternalName);
self.World.AddFrameEndTask(w => w.Add(new CrateEffect(self, "levelup", info.LevelUpPalette)));
}
}
}

View File

@@ -1695,6 +1695,7 @@ Rules:
DisguiseToolTip:
ShowOwnerRow: false
WEAP:
-InfiltrateForSupportPower:
TargetableBuilding:
TargetTypes: Ground, C4, DetonateAttack, Structure, Mission Objectives
MISS: