From d509d3f5f9245c84a407536a56a41cb6f6bdc36f Mon Sep 17 00:00:00 2001 From: Paul Chote Date: Fri, 20 Aug 2021 14:44:41 +0100 Subject: [PATCH] Fix carryall InitialActor creation. --- OpenRA.Mods.Common/Traits/Carryall.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Traits/Carryall.cs b/OpenRA.Mods.Common/Traits/Carryall.cs index 5c9d2febe5..367bcf0e8e 100644 --- a/OpenRA.Mods.Common/Traits/Carryall.cs +++ b/OpenRA.Mods.Common/Traits/Carryall.cs @@ -128,7 +128,7 @@ namespace OpenRA.Mods.Common.Traits new OwnerInit(self.Owner) }); - unit.Trait().Attached(self); + unit.Trait().Attached(unit); AttachCarryable(self, unit); } }