Make Harvester conditional.
This commit is contained in:
committed by
abcdefg30
parent
cd90c70cdf
commit
dcb70d12e3
@@ -53,6 +53,9 @@ namespace OpenRA.Mods.Common.Activities
|
||||
|
||||
public override bool Tick(Actor self)
|
||||
{
|
||||
if (harv.IsTraitDisabled)
|
||||
Cancel(self, true);
|
||||
|
||||
if (IsCanceling || harv.IsFull)
|
||||
return true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user