(a652b4140) Added missing "dialognorescuetargets" to EnglishVanilla, don't attempt to say the line on languages other than English
This commit is contained in:
@@ -485,7 +485,11 @@ namespace Barotrauma
|
|||||||
}
|
}
|
||||||
else if (ObjectiveManager.CurrentOrder is AIObjectiveRescueAll rescueAll && rescueAll.Targets.None())
|
else if (ObjectiveManager.CurrentOrder is AIObjectiveRescueAll rescueAll && rescueAll.Targets.None())
|
||||||
{
|
{
|
||||||
Character.Speak(TextManager.Get("DialogNoRescueTargets"), null, 3.0f, "norescuetargets");
|
//TODO: re-enable on all languages after DialogNoRescueTargets has been translated
|
||||||
|
if (TextManager.Language == "English")
|
||||||
|
{
|
||||||
|
Character.Speak(TextManager.Get("DialogNoRescueTargets"), null, 3.0f, "norescuetargets");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if (ObjectiveManager.CurrentOrder is AIObjectivePumpWater pumpWater && pumpWater.Targets.None())
|
else if (ObjectiveManager.CurrentOrder is AIObjectivePumpWater pumpWater && pumpWater.Targets.None())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user