(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
@@ -73,6 +73,21 @@ namespace Barotrauma
}
}
public override void Update(float deltaTime)
{
if (objectiveManager.CurrentObjective == this)
{
if (randomTimer > 0)
{
randomTimer -= deltaTime;
}
else
{
SetRandom();
}
}
}
public override bool IsCompleted() => false;
public override bool CanBeCompleted => true;