added the parabox animation when parabomb cates are collected

This commit is contained in:
Matthias Mailänder
2013-06-14 12:04:28 +02:00
parent 06b797fd14
commit bad3bd5fbb
2 changed files with 4 additions and 1 deletions

View File

@@ -31,9 +31,11 @@ namespace OpenRA.Mods.RA.Crates
// We want neither of these properties for crate power proxies.
public override void Activate(Actor collector)
{
base.Activate(collector);
collector.World.AddFrameEndTask(w => w.CreateActor(Info.Proxy, new TypeDictionary
{
new OwnerInit( collector.Owner )
new OwnerInit(collector.Owner)
}));
}
}