From 22ace6e816fbe9896b0fd5f029ba0edd223ef7f6 Mon Sep 17 00:00:00 2001 From: xeruf <27jf@pm.me> Date: Wed, 3 Jul 2024 21:53:12 +0300 Subject: [PATCH] refactor(framework): change tie WinReason message --- plugin/src/test/kotlin/sc/plugin2024/GameResultTest.kt | 4 ++-- plugin2025/src/test/kotlin/sc/plugin2025/GameResultTest.kt | 4 ++-- sdk/src/main/framework/sc/shared/IWinReason.kt | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/plugin/src/test/kotlin/sc/plugin2024/GameResultTest.kt b/plugin/src/test/kotlin/sc/plugin2024/GameResultTest.kt index e42ece83c..83a9c058e 100644 --- a/plugin/src/test/kotlin/sc/plugin2024/GameResultTest.kt +++ b/plugin/src/test/kotlin/sc/plugin2024/GameResultTest.kt @@ -39,7 +39,7 @@ class GameResultTest: WordSpec({ - + """.trimIndent() } @@ -80,7 +80,7 @@ class GameResultTest: WordSpec({ - + """.trimIndent() } diff --git a/plugin2025/src/test/kotlin/sc/plugin2025/GameResultTest.kt b/plugin2025/src/test/kotlin/sc/plugin2025/GameResultTest.kt index 685d347dd..e2102d7a4 100644 --- a/plugin2025/src/test/kotlin/sc/plugin2025/GameResultTest.kt +++ b/plugin2025/src/test/kotlin/sc/plugin2025/GameResultTest.kt @@ -28,7 +28,7 @@ class GameResultTest: WordSpec({ - + """.trimIndent() } @@ -69,7 +69,7 @@ class GameResultTest: WordSpec({ - + """.trimIndent() } diff --git a/sdk/src/main/framework/sc/shared/IWinReason.kt b/sdk/src/main/framework/sc/shared/IWinReason.kt index ffac874ed..ff711a0ec 100644 --- a/sdk/src/main/framework/sc/shared/IWinReason.kt +++ b/sdk/src/main/framework/sc/shared/IWinReason.kt @@ -12,4 +12,4 @@ open class WinReason(override val message: String, override val isRegular: Boole override fun equals(other: Any?) = other is IWinReason && other.message == this.message } -object WinReasonTie: WinReason("Beide Teams sind gleichauf") \ No newline at end of file +object WinReasonTie: WinReason("Beide Spieler sind gleichauf") \ No newline at end of file