fix(ranking): fix missing user causing client crash

This commit is contained in:
MingxuanGame
2025-08-15 06:34:35 +00:00
parent 1251ba31a2
commit d87839f86e
4 changed files with 55 additions and 11 deletions

View File

@@ -86,7 +86,7 @@ class GameMode(str, Enum):
GameMode.TAIKO: GameMode.TAIKORX,
GameMode.FRUITS: GameMode.FRUITSRX,
}[self]
raise ValueError(f"Unknown game mode: {self}")
return self
class Rank(str, Enum):