Skip to content

Commit

Permalink
consilation has to happen before and after attachments and abilities …
Browse files Browse the repository at this point in the history
…are used to update the cards
  • Loading branch information
TheGrizzlyDev committed May 9, 2020
1 parent 7b85bab commit 285f86f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/com/matag/game/turn/TurnController.java
Original file line number Diff line number Diff line change
Expand Up @@ -58,8 +58,9 @@ public void turn(SimpMessageHeaderAccessor headerAccessor, TurnRequest request)
turnService.declareBlockers(gameStatus, toMapListInteger(request.getTargetsIdsForCardIds()));
}

attachmentsService.updateGameStatus(gameStatus);
consolidateStatusService.consolidate(gameStatus);
abilitiesFromOtherPermanentsService.updateGameStatus(gameStatus);
attachmentsService.updateGameStatus(gameStatus);
consolidateStatusService.consolidate(gameStatus);
gameStatusUpdaterService.sendUpdateGameStatus(gameStatus);
}
Expand Down

0 comments on commit 285f86f

Please sign in to comment.