@@ -76,8 +76,12 @@ namespace OpenRA.Mods.RA
|
||||
|
||||
Sound.PlayNotification(self.Owner, "Sounds", "LevelUp", self.Owner.Country.Race);
|
||||
self.World.AddFrameEndTask(w => w.Add(new CrateEffect(self, "levelup")));
|
||||
if (Level == 1 && !self.Destroyed)
|
||||
self.World.AddFrameEndTask(w => w.Add(new Rank(self)));
|
||||
if (Level == 1)
|
||||
self.World.AddFrameEndTask(w =>
|
||||
{
|
||||
if (!self.IsDead())
|
||||
w.Add(new Rank(self));
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user