Skip to content

Commit

Permalink
半藏的特殊优化
Browse files Browse the repository at this point in the history
  • Loading branch information
zc-meng committed Sep 13, 2024
1 parent 4742e1e commit e4cc678
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/kotlin/Game.kt
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,8 @@ class Game(val id: Int, totalPlayerCount: Int, val actorRef: ActorRef) {
}
Statistics.addPlayerGameCount(playerGameResultList)
Statistics.calculateRankList()
QQPusher.push(this, declaredWinners, winners, addScoreMap, newScoreMap, humanPlayers.size > 1 || humanPlayers.playerName == "半藏")
QQPusher.push(this, declaredWinners, winners, addScoreMap, newScoreMap, humanPlayers.size > 1 ||
humanPlayers[0].playerName == "半藏")
}
players.forEach { it!!.notifyWin(declaredWinners, winners, addScoreMap, newScoreMap) }
}
Expand Down

0 comments on commit e4cc678

Please sign in to comment.