Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Fix deciding winner logic #139

Merged
merged 1 commit into from
Dec 11, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion src/main/java/com/universe/uni/service/GameService.java
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,6 @@ private User decideFinalGameScore(RoundMission myRoundMission, RoundMission part
myRoundMission.updateFinalResult(DRAW);
partnerRoundMission.updateFinalResult(DRAW);
}
winner = partnerRoundMission.getUser();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

오호 사소한 부분 잘 찾았네요... 고생하셨습니다~

} else if (myResult == LOSE && partnerResult == LOSE) {
myRoundMission.updateFinalResult(DRAW);
partnerRoundMission.updateFinalResult(DRAW);
Expand Down
Loading