From 9c6cb501a4598fabf28a24e7489bdd202a8f0503 Mon Sep 17 00:00:00 2001 From: Gustas Date: Thu, 29 Aug 2024 19:57:14 +0300 Subject: [PATCH] We should notify host even when it's not in world --- OpenRA.Mods.Common/Activities/GenericDockSequence.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenRA.Mods.Common/Activities/GenericDockSequence.cs b/OpenRA.Mods.Common/Activities/GenericDockSequence.cs index 7742a0b83e..7084e38e18 100644 --- a/OpenRA.Mods.Common/Activities/GenericDockSequence.cs +++ b/OpenRA.Mods.Common/Activities/GenericDockSequence.cs @@ -202,7 +202,7 @@ namespace OpenRA.Mods.Common.Activities foreach (var nd in notifyDockClients) nd.Undocked(self, DockHostActor); - if (DockHostActor.IsInWorld && !DockHostActor.IsDead) + if (!DockHostActor.IsDead) foreach (var nd in notifyDockHosts) nd.Undocked(DockHostActor, self); }