remove crash on cancel undeploy

This commit is contained in:
Chris Forbes
2010-03-09 12:38:10 +13:00
parent 4f35eaccc5
commit 62cad205ff

View File

@@ -56,10 +56,6 @@ namespace OpenRA.Traits.Activities
return this;
}
public void Cancel(Actor self)
{
// Cancel can't happen between this being moved to the head of the list, and it being Ticked.
throw new InvalidOperationException("UndeployMcvAction: Cancel() should never occur.");
}
public void Cancel(Actor self) {}
}
}