(aebd2c4c0) tweaks part 666

This commit is contained in:
Joonas Rikkonen
2019-05-16 06:32:06 +03:00
parent 80c563e7b0
commit 9da8a437eb
13 changed files with 314 additions and 655 deletions
@@ -88,6 +88,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;