mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 20:28:00 +00:00
I should be more careful copypaster
This commit is contained in:
@@ -623,7 +623,7 @@ public class GameAction {
|
|||||||
boolean isGameDone = humanWins || computerWins;
|
boolean isGameDone = humanWins || computerWins;
|
||||||
if (isGameDone) {
|
if (isGameDone) {
|
||||||
game.getPlayerRating(PlayerIndex.AI).setLossReason(computer.getLossState(), computer.getLossConditionSource());
|
game.getPlayerRating(PlayerIndex.AI).setLossReason(computer.getLossState(), computer.getLossConditionSource());
|
||||||
game.getPlayerRating(PlayerIndex.HUMAN).setLossReason(human.getLossState(), computer.getLossConditionSource());
|
game.getPlayerRating(PlayerIndex.HUMAN).setLossReason(human.getLossState(), human.getLossConditionSource());
|
||||||
AllZone.getMatchState().addGamePlayed(game);
|
AllZone.getMatchState().addGamePlayed(game);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user