Don’t reveal shroud at the original transport load point.
This commit is contained in:
@@ -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))
|
||||||
|
|||||||
Reference in New Issue
Block a user