make cargo unload deploy action queueable
fix line spacing remove unnecessary null check
This commit is contained in:
@@ -59,6 +59,12 @@ namespace OpenRA.Mods.Common.Activities
|
||||
if (IsCanceling || cargo.IsEmpty(self))
|
||||
return NextActivity;
|
||||
|
||||
if (!cargo.CanUnload())
|
||||
{
|
||||
Cancel(self, true);
|
||||
return NextActivity;
|
||||
}
|
||||
|
||||
foreach (var inu in notifiers)
|
||||
inu.Unloading(self);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user