This commit is contained in:
Matthew Bowra-Dean
2010-10-21 00:42:10 +13:00
committed by Chris Forbes
parent de92a2fc0c
commit f6df7a06f2
18 changed files with 25 additions and 3 deletions

View File

@@ -196,7 +196,8 @@ namespace OpenRA.Mods.Cnc
{
var b = cargo.Unload(a);
world.AddFrameEndTask(w2 =>
{
{
if (b.Destroyed) return;
w2.Add(b);
b.TraitsImplementing<IMove>().FirstOrDefault().SetPosition(b, a.Location);
b.QueueActivity(new Move(unload, 2));