From ec15acbc806b7e5094122ea5a22239f69787081f Mon Sep 17 00:00:00 2001 From: reaperrr Date: Sun, 1 Jul 2018 19:24:08 +0200 Subject: [PATCH] Enable LaserZap launch-effect syncing with current source barrel/muzzle facing --- OpenRA.Mods.Common/Projectiles/LaserZap.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Projectiles/LaserZap.cs b/OpenRA.Mods.Common/Projectiles/LaserZap.cs index 89ebaa6295..11fef9b50a 100644 --- a/OpenRA.Mods.Common/Projectiles/LaserZap.cs +++ b/OpenRA.Mods.Common/Projectiles/LaserZap.cs @@ -141,7 +141,7 @@ namespace OpenRA.Mods.Common.Projectiles source = args.CurrentSource(); if (hasLaunchEffect && ticks == 0) - world.AddFrameEndTask(w => w.Add(new LaunchEffect(world, args.CurrentSource, () => 0, + world.AddFrameEndTask(w => w.Add(new LaunchEffect(world, args.CurrentSource, args.CurrentMuzzleFacing, info.LaunchEffectImage, info.LaunchEffectSequence, info.LaunchEffectPalette))); // Beam tracks target