Define the reverse playback at sequence level.

This commit is contained in:
Matthias Mailänder
2016-05-01 12:56:01 +02:00
parent 13cf193640
commit d1022671c0
3 changed files with 5 additions and 3 deletions

View File

@@ -67,7 +67,7 @@ namespace OpenRA.Mods.Common.Traits.Render
isSmoking = true;
anim.PlayThen(info.IdleSequence,
() => anim.PlayThen(info.LoopSequence,
() => anim.PlayBackwardsThen(info.EndSequence,
() => anim.PlayThen(info.EndSequence,
() => isSmoking = false)));
}
}