We should notify host even when it's not in world
This commit is contained in:
@@ -202,7 +202,7 @@ namespace OpenRA.Mods.Common.Activities
|
|||||||
foreach (var nd in notifyDockClients)
|
foreach (var nd in notifyDockClients)
|
||||||
nd.Undocked(self, DockHostActor);
|
nd.Undocked(self, DockHostActor);
|
||||||
|
|
||||||
if (DockHostActor.IsInWorld && !DockHostActor.IsDead)
|
if (!DockHostActor.IsDead)
|
||||||
foreach (var nd in notifyDockHosts)
|
foreach (var nd in notifyDockHosts)
|
||||||
nd.Undocked(DockHostActor, self);
|
nd.Undocked(DockHostActor, self);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user