(34e0d61d6) New versions of autodoors, using oscillators

This commit is contained in:
Joonas Rikkonen
2019-04-29 21:06:58 +03:00
parent b97f64fdb1
commit 2be015f6f6

View File

@@ -1054,6 +1054,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