[F] Fix wacca trailing slash

This commit is contained in:
Azalea
2026-04-14 01:59:11 -04:00
parent 50cb970828
commit 22334de8a7

View File

@@ -185,7 +185,8 @@ class AllNet(
// If keychip authentication is enabled, the game URLs will be set to /gs/{token}/{game}/...
val base = if (session != null) "gs/$session" else "g"
return "http://$addr/$base/$gameId/$ver/"
val url = "http://$addr/$base/$gameId/$ver"
return url + (if (gameId == "SDFE") "" else "/") // Wacca must not end with trailing slash
}
companion object {