We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6e54b10 commit c188933Copy full SHA for c188933
plugin/src/client/sc/plugin2021/AbstractClient.kt
@@ -96,13 +96,13 @@ abstract class AbstractClient(
96
97
if (type == PlayerType.OBSERVER) return
98
99
- handler?.onUpdate(gameState)
100
if (gameState.orderedColors.isNotEmpty()) {
101
if (gameState.currentTeam == team) {
102
handler?.onUpdate(gameState.currentPlayer, gameState.otherPlayer)
103
} else {
104
handler?.onUpdate(gameState.otherPlayer, gameState.currentPlayer)
105
}
+ handler?.onUpdate(gameState)
106
107
108
0 commit comments