Fixed a crash in RequestEarlyLanding

This commit is contained in:
hondacrx
2021-09-08 17:41:20 -04:00
parent 5c4a7511ff
commit d3530ddf1c
+1 -1
View File
@@ -207,7 +207,7 @@ namespace Game.Entities
if (++i == m_TaxiDestinations.Count - 1)
return false; // if we are left with only 1 known node on the path don't change the spline, its our final destination anyway
m_TaxiDestinations.RemoveRange(i, m_TaxiDestinations.Count - 1);
m_TaxiDestinations.RemoveRange(i, m_TaxiDestinations.Count - i);
return true;
}
}