Add dynamic muzzle LaunchEffect facing plumbing

This commit is contained in:
reaperrr
2018-04-26 23:08:43 +02:00
committed by abcdefg30
parent 619457828f
commit 28c89920ac
4 changed files with 5 additions and 0 deletions

View File

@@ -68,6 +68,7 @@ namespace OpenRA.Mods.Common.Traits
{
Weapon = wep,
Facing = self.World.SharedRandom.Next(-1, 255),
CurrentMuzzleFacing = () => 0,
DamageModifiers = self.TraitsImplementing<IFirepowerModifier>()
.Select(a => a.GetFirepowerModifier()).ToArray(),