Skip to content

Commit

Permalink
fix a couple of broken things
Browse files Browse the repository at this point in the history
  • Loading branch information
alyssaruth committed Nov 10, 2024
1 parent bd43541 commit 9a3926f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions client/src/main/java/online/screen/GameRoom.java
Original file line number Diff line number Diff line change
Expand Up @@ -1462,6 +1462,7 @@ public void illegalCalled()
MessageUtil.sendMessage(illegal, 0);
}

public String getRoomName() { return roomName; }
public int getJokerValue()
{
return settings.getJokerValue();
Expand Down
2 changes: 1 addition & 1 deletion client/src/main/java/screen/ReplayDialog.java
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ public void initForRoomReplay(GameRoom room)
}

String username = room.getUsername();
String roomName = room.getName();
String roomName = room.getRoomName();

Debug.append("Opened online replay for room " + roomName, true);
replay = Preferences.userRoot().node(NODE_ONLINE_REPLAY + roomName + username);
Expand Down
2 changes: 1 addition & 1 deletion client/src/main/kotlin/http/SessionApi.kt
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class SessionApi(private val httpClient: HttpClient) {
}

fun updateAchievementCount(achievementCount: Int) {
httpClient.doCall<UpdateAchievementCountRequest>(
httpClient.doCall<Unit>(
HttpMethod.POST,
Routes.ACHIEVEMENT_COUNT,
UpdateAchievementCountRequest(achievementCount),
Expand Down

0 comments on commit 9a3926f

Please sign in to comment.