Skip to content

Commit

Permalink
Send current multiplayer API version when creating a multiplayer room
Browse files Browse the repository at this point in the history
  • Loading branch information
Rian8337 committed Jan 12, 2025
1 parent be86a56 commit 8b185fe
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/com/reco1l/ibancho/LobbyAPI.kt
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,7 @@ object LobbyAPI {
put("password", password)
}

put("version", RoomAPI.API_VERSION)
put("sign", sign)
}

Expand Down
2 changes: 1 addition & 1 deletion src/com/reco1l/ibancho/RoomAPI.kt
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ object RoomAPI {
/**
* The API version.
*/
private const val API_VERSION = 8
const val API_VERSION = 8


/**
Expand Down
1 change: 1 addition & 0 deletions src/com/reco1l/osu/multiplayer/LobbyCreateRoom.kt
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ class LobbyCreateRoom : BaseFragment() {
if (password != null) {
signStr += "_${password}"
}
signStr += "_${RoomAPI.API_VERSION}"

try {

Expand Down

0 comments on commit 8b185fe

Please sign in to comment.