Do not cancel parent activity when refinery is destroyed.

This commit is contained in:
tovl
2019-07-27 23:12:56 +02:00
committed by teinarss
parent a4b8ffa99d
commit 9e6f8aef60

View File

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