Add facing support to Gravity Bomb.

This commit is contained in:
Mustafa Alperen Seki
2018-12-07 18:47:22 +03:00
committed by Oliver Brakmann
parent 85a97998aa
commit a2ac95d140

View File

@@ -65,7 +65,7 @@ namespace OpenRA.Mods.Common.Projectiles
if (!string.IsNullOrEmpty(info.Image))
{
anim = new Animation(args.SourceActor.World, info.Image);
anim = new Animation(args.SourceActor.World, info.Image, () => args.Facing);
if (!string.IsNullOrEmpty(info.OpenSequence))
anim.PlayThen(info.OpenSequence, () => anim.PlayRepeating(info.Sequences.Random(args.SourceActor.World.SharedRandom)));