(35fabe831) Fixed different EntitySpawner error messages having the same identifier (preventing successive errors from being reported to GameAnalytics after one has been reported)

This commit is contained in:
Joonas Rikkonen
2019-04-29 21:07:28 +03:00
parent 8f94ee1eed
commit fedde72056
2 changed files with 9 additions and 2 deletions
@@ -1058,6 +1058,8 @@ namespace Barotrauma
private bool IsProperlyLatchedOnSub => LatchOntoAI != null && LatchOntoAI.IsAttachedToSub && SelectedAiTarget?.Entity == wallTarget?.Structure;
private bool IsProperlyLatchedOnSub => LatchOntoAI != null && LatchOntoAI.IsAttachedToSub && SelectedAiTarget?.Entity == wallTarget?.Structure;
//goes through all the AItargets, evaluates how preferable it is to attack the target,
//whether the Character can see/hear the target and chooses the most preferable target within
//sight/hearing range