(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
@@ -398,6 +398,10 @@ namespace Barotrauma
bool completed = (Enemy != null && (Enemy.Removed || Enemy.IsDead)) || (useCoolDown && coolDownTimer <= 0);
if (completed)
{
if (objectiveManager.CurrentOrder == this && Enemy != null && Enemy.IsDead)
{
character.Speak(TextManager.Get("DialogTargetDown"), null, 3.0f, "targetdown", 30.0f);
}
if (Weapon != null)
{
Unequip();