Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 309379c4 authored by Dave Mankoff's avatar Dave Mankoff Committed by Android (Google) Code Review
Browse files

Merge "Fix deprecation errors in EasterEgg." into main

parents dfb9585e 94f420ed
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -44,7 +44,7 @@ class Autopilot(val ship: Spacecraft, val universe: Universe) : Entity {
            if (enabled)
                listOf(
                        "---- AUTOPILOT ENGAGED ----",
                        "TGT: " + (target?.name?.toUpperCase() ?: "SELECTING..."),
                        "TGT: " + (target?.name?.uppercase() ?: "SELECTING..."),
                        "EXE: $strategy" + if (debug.isNotEmpty()) " ($debug)" else "",
                    )
                    .joinToString("\n")
+2 −2
Original line number Diff line number Diff line
@@ -236,8 +236,8 @@ fun Telemetry(universe: Universe, showControls: Boolean) {
                                    ((closest.pos - pos).mag() - closest.radius).toInt()
                                listOfNotNull(
                                        landing?.let {
                                            "LND: ${it.planet.name.toUpperCase()}\n" +
                                                "JOB: ${it.text.toUpperCase()}"
                                            "LND: ${it.planet.name.uppercase()}\n" +
                                                "JOB: ${it.text.uppercase()}"
                                        }
                                            ?: if (distToClosest < 10_000) {
                                                "ALT: $distToClosest"