mirror of
https://github.com/MewoLab/AquaDX.git
synced 2026-09-29 18:27:56 +03:00
fix: display error in a friendlier way on rankings
migrate from status overlays to displaying within container
This commit is contained in:
@@ -57,7 +57,7 @@ abstract class GameApiController<T : IUserData>(val name: String, userDataClass:
|
||||
val time = millis()
|
||||
|
||||
// Check cache validity
|
||||
if (rankingCache.isEmpty()) (500 - "Ranking is computing... please wait")
|
||||
if (rankingCache.isEmpty()) (500 - "Rank is empty or is currently computing. Please come back later.")
|
||||
|
||||
val reqUser = token?.let { us.jwt.auth(it) }?.let { u ->
|
||||
// Optimization: If the user is not banned, we don't need to process user information
|
||||
|
||||
Reference in New Issue
Block a user