aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/moe/nea/firmament/features
diff options
context:
space:
mode:
authorLinnea Gräf <nea@nea.moe>2024-05-16 14:11:40 +0200
committerLinnea Gräf <nea@nea.moe>2024-05-16 14:11:40 +0200
commita7a1e099d5c72041f7553fb7ae96bd5a73a5316c (patch)
tree02e269021d9b0f5d4ed0067a1c5ccf1aa5662413 /src/main/kotlin/moe/nea/firmament/features
parentd7d863f76d78b90179918222539fe4de05f7b44e (diff)
downloadFirmament-a7a1e099d5c72041f7553fb7ae96bd5a73a5316c.tar.gz
Firmament-a7a1e099d5c72041f7553fb7ae96bd5a73a5316c.tar.bz2
Firmament-a7a1e099d5c72041f7553fb7ae96bd5a73a5316c.zip
Improve line renderer
Diffstat (limited to 'src/main/kotlin/moe/nea/firmament/features')
-rw-r--r--src/main/kotlin/moe/nea/firmament/features/diana/AncestralSpadeSolver.kt2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/features/diana/AncestralSpadeSolver.kt b/src/main/kotlin/moe/nea/firmament/features/diana/AncestralSpadeSolver.kt
index e80ef92..fb7e8da 100644
--- a/src/main/kotlin/moe/nea/firmament/features/diana/AncestralSpadeSolver.kt
+++ b/src/main/kotlin/moe/nea/firmament/features/diana/AncestralSpadeSolver.kt
@@ -110,7 +110,7 @@ object AncestralSpadeSolver : SubscriptionOwner {
}
if (particlePositions.size > 2 && lastDing.passedTime() < 10.seconds && nextGuess != null) {
color(0f, 1f, 0f, 0.7f)
- line(*particlePositions.toTypedArray())
+ line(particlePositions)
}
}
}