fix cargo
This commit is contained in:
@@ -69,7 +69,7 @@ namespace OpenRA.Mods.RA.Activities
|
|||||||
if (actor.Destroyed) return;
|
if (actor.Destroyed) return;
|
||||||
w.Add(actor);
|
w.Add(actor);
|
||||||
|
|
||||||
var mobile = self.Trait<Mobile>();
|
var mobile = actor.Trait<Mobile>();
|
||||||
mobile.SetPosition(actor, self.Location);
|
mobile.SetPosition(actor, self.Location);
|
||||||
actor.CancelActivity();
|
actor.CancelActivity();
|
||||||
actor.QueueActivity(mobile.MoveTo(exitTile.Value, 0));
|
actor.QueueActivity(mobile.MoveTo(exitTile.Value, 0));
|
||||||
|
|||||||
Reference in New Issue
Block a user