(8e85e4405) updated compartment names

This commit is contained in:
Joonas Rikkonen
2019-05-16 06:34:19 +03:00
parent d57f851dc2
commit 8bf054ef2a
17 changed files with 414 additions and 82 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;