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