(14c9225be) Added: Missing word from itemmsgoxygenrefill

This commit is contained in:
Joonas Rikkonen
2019-05-16 06:11:31 +03:00
parent bf359f58e9
commit e66501d96a
13 changed files with 304 additions and 1242 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;
@@ -250,6 +250,10 @@ namespace Barotrauma
{
isCompleted = true;
}
if (component.AIOperate(deltaTime, character, this))
{
isCompleted = true;
}
}
else
{