corrected refactoring mistake, ich which RankingResponce was renamed to RankingResponse

This commit is contained in:
Fleischer Hanno
2024-11-24 22:18:48 +01:00
committed by Felix
parent 7e1d2e833e
commit 7cfb863e5c
3 changed files with 5 additions and 5 deletions

View File

@@ -26,7 +26,7 @@ public void receivedRequestDice(RequestDice msg, int from) {
@Override
public void update() {
if (Boolean.TRUE.equals(logic.getGame().allRanked())) {
broadcastUpdate(new RankingResponce());
broadcastUpdate(new RankingResponse());
if (logic.getGame().getOrder().isEmpty()) {
// todo: save the players with the same value?
broadcastUpdate(new RankingRollAgain());