(06129f656) Add some missing texts. Incomplete.

This commit is contained in:
Joonas Rikkonen
2019-05-16 05:26:25 +03:00
parent 268389a128
commit a447a47661
14 changed files with 363 additions and 110 deletions
@@ -17,7 +17,10 @@ namespace Barotrauma
protected override void FindTargets()
{
base.FindTargets();
// TODO: Add a dialog when no leaks are found and the objective is an order
if (targets.None() && objectiveManager.CurrentOrder == this)
{
character.Speak(TextManager.Get("DialogNoLeaks"), null, 3.0f, "noleaks", 30.0f);
}
}
protected override bool Filter(Gap gap)