(c249eaee6) Add a filter callback in the GetLinkedEntities method.

This commit is contained in:
Joonas Rikkonen
2019-05-16 06:46:13 +03:00
parent ce02152130
commit 10d219f935
11 changed files with 173 additions and 262 deletions
@@ -73,36 +73,6 @@ namespace Barotrauma
}
}
public override void Update(float deltaTime)
{
if (objectiveManager.CurrentObjective == this)
{
if (randomTimer > 0)
{
randomTimer -= deltaTime;
}
else
{
SetRandom();
}
}
}
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;