From a2ac95d1404fd47773e5517bed9a8eca54de535c Mon Sep 17 00:00:00 2001 From: Mustafa Alperen Seki Date: Fri, 7 Dec 2018 18:47:22 +0300 Subject: [PATCH] Add facing support to Gravity Bomb. --- OpenRA.Mods.Common/Projectiles/GravityBomb.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Projectiles/GravityBomb.cs b/OpenRA.Mods.Common/Projectiles/GravityBomb.cs index a1007fdc60..2961decf97 100644 --- a/OpenRA.Mods.Common/Projectiles/GravityBomb.cs +++ b/OpenRA.Mods.Common/Projectiles/GravityBomb.cs @@ -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)));