Rank+1 displays only on levelup.

This commit is contained in:
Matija Hustić
2015-07-14 14:44:10 +01:00
parent 0a1a53bb4b
commit 881f24c1cc

View File

@@ -95,7 +95,6 @@ namespace OpenRA.Mods.Common.Traits
foreach (var u in upgrades)
um.GrantUpgrade(self, u, this);
}
if (!silent)
{
@@ -103,6 +102,7 @@ namespace OpenRA.Mods.Common.Traits
self.World.AddFrameEndTask(w => w.Add(new CrateEffect(self, "levelup", info.LevelUpPalette)));
}
}
}
public void ResolveOrder(Actor self, Order order)
{