Add sequence parameter to SpriteEffect.
This commit is contained in:
@@ -52,7 +52,7 @@ namespace OpenRA.Mods.Common.Traits
|
||||
Game.Sound.Play(info.DeploySound, location);
|
||||
|
||||
if (!string.IsNullOrEmpty(info.EffectSequence) && !string.IsNullOrEmpty(info.EffectPalette))
|
||||
w.Add(new SpriteEffect(location, w, info.EffectSequence, info.EffectPalette));
|
||||
w.Add(new SpriteEffect(location, w, info.EffectSequence, "idle", info.EffectPalette));
|
||||
|
||||
var actor = w.CreateActor(info.Actor, new TypeDictionary
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user