Commit 8c6f30ec authored by Philip A Levis's avatar Philip A Levis
Browse files

Apply suggestion to software/ui/src/Model.java

parent bab4ef2b
......@@ -201,7 +201,7 @@ class FlightModel extends LXModel implements Flight {
/* ------------- one flyer, lights ------------- */
public List<LightSamplePointModel> getFlyerLights(int flyerIndex) {
return IntStream
.range(bodyLightIndex(flyerIndex), bodyLightIndex(flyerIndex + 1))
.range(flyerLightStartIndex(flyerIndex), flyerLightStartIndex(flyerIndex + 1))
.mapToObj(i -> lightPoints[i])
.collect(Collectors.toList());
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment