From 6e5d4056336ba6b8bfd10ed509d1c72c6c6850c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A5=87=E8=91=A9=E3=81=AE=E7=81=B5=E6=A2=A6?= Date: Mon, 23 Sep 2024 19:45:03 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8D=E8=AE=B0=E5=BD=95=E6=9C=BA=E5=99=A8?= =?UTF-8?q?=E4=BA=BA=E7=9A=84=E5=8E=86=E5=8F=B2=E8=AE=B0=E5=BD=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/kotlin/QQPusher.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/kotlin/QQPusher.kt b/src/main/kotlin/QQPusher.kt index e203dcf4..09a86fea 100644 --- a/src/main/kotlin/QQPusher.kt +++ b/src/main/kotlin/QQPusher.kt @@ -102,7 +102,8 @@ object QQPusher { else "+0" val rank = ScoreFactory.getRankNameByScore(newScore) lines.add("$name,$roleName,$identity,$result,$rank,$newScore($addScoreStr)") - map[name] = "$roleName,$identity,$result,$rank,$newScore($addScoreStr)" + if (player is HumanPlayer) + map[name] = "$roleName,$identity,$result,$rank,$newScore($addScoreStr)" } val text = lines.joinToString(separator = "\n") val at = runBlocking {