From 0a1a53bb4bb84140be42d83652b6b139e7337f71 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matija=20Husti=C4=87?= Date: Tue, 14 Jul 2015 14:39:23 +0100 Subject: [PATCH 1/2] Disables veterancy when infiltrating war factory in Allies05. --- mods/ra/maps/allies-05a/map.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/mods/ra/maps/allies-05a/map.yaml b/mods/ra/maps/allies-05a/map.yaml index a10535ad54..7ec3422286 100644 --- a/mods/ra/maps/allies-05a/map.yaml +++ b/mods/ra/maps/allies-05a/map.yaml @@ -1695,6 +1695,7 @@ Rules: DisguiseToolTip: ShowOwnerRow: false WEAP: + -InfiltrateForSupportPower: TargetableBuilding: TargetTypes: Ground, C4, DetonateAttack, Structure, Mission Objectives MISS: From 881f24c1cc0254eb13bd76a11c46d33e0bd3725c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matija=20Husti=C4=87?= Date: Tue, 14 Jul 2015 14:44:10 +0100 Subject: [PATCH 2/2] Rank+1 displays only on levelup. --- OpenRA.Mods.Common/Traits/GainsExperience.cs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/OpenRA.Mods.Common/Traits/GainsExperience.cs b/OpenRA.Mods.Common/Traits/GainsExperience.cs index 96fd69cd31..a627221b0a 100644 --- a/OpenRA.Mods.Common/Traits/GainsExperience.cs +++ b/OpenRA.Mods.Common/Traits/GainsExperience.cs @@ -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))); + } } }