From a7a1e099d5c72041f7553fb7ae96bd5a73a5316c Mon Sep 17 00:00:00 2001 From: Linnea Gräf Date: Thu, 16 May 2024 14:11:40 +0200 Subject: Improve line renderer --- .../kotlin/moe/nea/firmament/features/diana/AncestralSpadeSolver.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/kotlin/moe/nea/firmament/features') 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) } } } -- cgit