From 9e6f8aef60d25c7d7e907e8ae38d1c013edf528d Mon Sep 17 00:00:00 2001 From: tovl Date: Sat, 27 Jul 2019 23:12:56 +0200 Subject: [PATCH] Do not cancel parent activity when refinery is destroyed. --- OpenRA.Mods.Common/Traits/Buildings/Refinery.cs | 4 ---- 1 file changed, 4 deletions(-) diff --git a/OpenRA.Mods.Common/Traits/Buildings/Refinery.cs b/OpenRA.Mods.Common/Traits/Buildings/Refinery.cs index 161590c9f7..8d38a1cf69 100644 --- a/OpenRA.Mods.Common/Traits/Buildings/Refinery.cs +++ b/OpenRA.Mods.Common/Traits/Buildings/Refinery.cs @@ -131,10 +131,6 @@ namespace OpenRA.Mods.Common.Traits void CancelDock(Actor self) { preventDock = true; - - // Cancel the dock sequence - if (dockedHarv != null && !dockedHarv.IsDead) - dockedHarv.CancelActivity(); } void ITick.Tick(Actor self)