Merge pull request #8791 from penev92/bleed_cancelActivity
Fix an NRE when cancelling repair orders on units at the wrong time
This commit is contained in:
@@ -45,7 +45,8 @@ namespace OpenRA.Mods.Common.Activities
|
|||||||
if (transportable != null)
|
if (transportable != null)
|
||||||
transportable.WantsTransport = false;
|
transportable.WantsTransport = false;
|
||||||
|
|
||||||
inner.Cancel(self);
|
if (inner != null)
|
||||||
|
inner.Cancel(self);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user