Do not cancel parent activity when refinery is destroyed.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user