Skip to content
Permalink
Browse files

fallback on the play to first turn player

  • Loading branch information...
Manuel-777 committed May 15, 2019
1 parent 65a1d43 commit ac20da2636296cf70d31269d94bebf63e9f9536f
Showing with 7 additions and 0 deletions.
  1. +7 −0 window_background/gre-to-client-interpreter.js
@@ -659,6 +659,13 @@ function checkGameInfo(gameInfo) {
}

function checkTurnDiff(turnInfo) {
if (
turnInfo.turnNumber &&
turnInfo.turnNumber == 1 &&
turnInfo.activePlayer
) {
currentMatch.onThePlay = turnInfo.activePlayer;
}
if (currentMatch.turnInfo.turnNumber !== turnInfo.turnNumber) {
if (turnInfo.priorityPlayer !== currentMatch.turnInfo.currentPriority) {
changePriority(

0 comments on commit ac20da2

Please sign in to comment.
You can’t perform that action at this time.