fix a crash if preceding inbounds exist
이 커밋은 다음에 포함됨:
1 부모
f795b301a2
커밋
98285869cd
1 파일이 변경됨
+1
-1
@@ -110,7 +110,7 @@ class RecedingHorizonControl:
|
||||
# search from the back to the front to find the last inbound
|
||||
for i in range(min(self.FreezedIndex, len(self.Windows)), -1, -1):
|
||||
for inbound in self.Windows[i].Inbounds:
|
||||
if runway == inbound.PlannedRunway.Runway.name:
|
||||
if runway == inbound.PlannedRunway.Name:
|
||||
return inbound
|
||||
|
||||
# no inbound found
|
||||
|
||||
새 이슈에서 참조
사용자 차단