(077a74edb) disabled "Tail Fin D3" rescale to prevent lighting bug

This commit is contained in:
Joonas Rikkonen
2019-05-16 06:56:36 +03:00
parent 112baf285d
commit 0cb7c1a5f7
10 changed files with 77 additions and 684 deletions
@@ -89,6 +89,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;