Convert CrateEffect to world coordinates.

This commit is contained in:
Paul Chote
2013-05-16 01:17:54 +12:00
parent 4d8dd2db7d
commit e122797a68
2 changed files with 2 additions and 10 deletions

View File

@@ -79,7 +79,7 @@ namespace OpenRA.Mods.RA
{
Level++;
Sound.PlayNotification(self.Owner, "Sounds", "LevelUp", self.Owner.Country.Race);
self.World.AddFrameEndTask(w => w.Add(new CrateEffect(self, "levelup", new int2(0,-24))));
self.World.AddFrameEndTask(w => w.Add(new CrateEffect(self, "levelup")));
}
}