Add some polish

This commit is contained in:
Paul Chote
2010-07-30 20:58:28 +12:00
parent bde16e4e15
commit 9280dd9f2f
3 changed files with 7 additions and 2 deletions

View File

@@ -39,6 +39,11 @@ namespace OpenRA.Mods.RA.Activities
void DoTransform(Actor self)
{
// Hack: repeat the first frame of the make anim instead
// of flashing the full structure for a frame
if (rb != null)
rb.PlayCustomAnim(self, "make");
self.World.AddFrameEndTask(w =>
{
var selected = w.Selection.Contains(self);