Skip to content

Commit 688c636

Browse files
committed
fix a blunder
Signed-off-by: Octol1ttle <l1ttleofficial@outlook.com>
1 parent f8db805 commit 688c636

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/main/kotlin/ru/octol1ttle/flightassistant/impl/display/SpeedDisplay.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ class SpeedDisplay(computers: ComputerBus) : Display(computers) {
107107
private fun GuiGraphics.renderSpeedTarget(x: Int, y: Int) {
108108
val color: Int
109109
val active: AutoFlightComputer.ThrustMode? = computers.autoflight.activeThrustMode
110-
if ((computers.autoflight.flightDirectors || computers.autoflight.autopilot) && active is AutoFlightComputer.FollowsSpeedMode) {
110+
if (computers.autoflight.autoThrust && active is AutoFlightComputer.FollowsSpeedMode) {
111111
color = if (active == computers.autoflight.selectedThrustMode) primaryAdvisoryColor else secondaryAdvisoryColor
112112
drawRightAlignedString(active.targetSpeed.toString(), x, y, color)
113113
return

0 commit comments

Comments
 (0)