Combine IHasLocation -> IOccupySpace, IMove -> ITeleportable.
This commit is contained in:
@@ -205,7 +205,7 @@ namespace OpenRA.Mods.Cnc.Missions
|
||||
{
|
||||
if (b.Destroyed) return;
|
||||
w2.Add(b);
|
||||
b.TraitsImplementing<IMove>().FirstOrDefault().SetPosition(b, a.Location);
|
||||
b.TraitsImplementing<ITeleportable>().FirstOrDefault().SetPosition(b, a.Location);
|
||||
b.QueueActivity(mobile.MoveTo(unload, 2));
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user