(95bf20e92) Disable watchman and mechanic variants for the build, because they are not yet quite there.

This commit is contained in:
Joonas Rikkonen
2019-05-16 06:17:11 +03:00
parent 5d38344efc
commit 306e3575a8
23 changed files with 452 additions and 176 deletions
@@ -27,11 +27,7 @@ namespace Barotrauma
public override bool IsDuplicate(AIObjective otherObjective) => otherObjective is AIObjectiveFixLeaks;
protected override float TargetEvaluation() => Targets.Max(t => GetLeakSeverity(t));
protected override IEnumerable<Gap> GetList() => Gap.GapList;
protected override AIObjective ObjectiveConstructor(Gap gap)
=> new AIObjectiveFixLeak(gap, character, objectiveManager, PriorityModifier);
protected override void OnObjectiveCompleted(AIObjective objective, Gap target)
=> HumanAIController.RemoveTargets<AIObjectiveFixLeaks, Gap>(character, target);
protected override AIObjective ObjectiveConstructor(Gap gap) => new AIObjectiveFixLeak(gap, character, objectiveManager, PriorityModifier);
public static bool IsValidTarget(Gap gap, Character character)
{