Don’t reveal shroud at the original transport load point.

This commit is contained in:
Paul Chote
2014-10-26 10:01:37 +13:00
parent c0cfacceb1
commit 3eb05ef23e

View File

@@ -84,11 +84,11 @@ namespace OpenRA.Mods.RA.Activities
var move = actor.Trait<IMove>(); var move = actor.Trait<IMove>();
var pos = actor.Trait<IPositionable>(); var pos = actor.Trait<IPositionable>();
w.Add(actor);
actor.CancelActivity(); actor.CancelActivity();
pos.SetVisualPosition(actor, spawn); pos.SetVisualPosition(actor, spawn);
actor.QueueActivity(move.MoveIntoWorld(actor, exitSubCell.Value.First, exitSubCell.Value.Second)); actor.QueueActivity(move.MoveIntoWorld(actor, exitSubCell.Value.First, exitSubCell.Value.Second));
actor.SetTargetLine(Target.FromCell(w, exitSubCell.Value.First, exitSubCell.Value.Second), Color.Green, false); actor.SetTargetLine(Target.FromCell(w, exitSubCell.Value.First, exitSubCell.Value.Second), Color.Green, false);
w.Add(actor);
}); });
if (!unloadAll || cargo.IsEmpty(self)) if (!unloadAll || cargo.IsEmpty(self))