We should notify host even when it's not in world

This commit is contained in:
Gustas
2024-08-29 19:57:14 +03:00
committed by Paul Chote
parent 5048a50403
commit 9c6cb501a4

View File

@@ -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);
}