(9cb944db7) Increase the priority modifier of extinguish fires for captain

This commit is contained in:
Joonas Rikkonen
2019-05-16 06:51:18 +03:00
parent 0ba5793b46
commit a2f97bf303
12 changed files with 368 additions and 221 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;