fix(spectator): wrong converted gamemode written into replay

This commit is contained in:
MingxuanGame
2025-07-27 11:47:09 +00:00
parent 589927a300
commit e34e35caf1
2 changed files with 4 additions and 5 deletions

View File

@@ -7,7 +7,6 @@ from typing import Any
from app.models.beatmap import BeatmapRankStatus
from .score import (
GameMode,
ScoreStatisticsInt,
)
from .signalr import MessagePackArrayModel
@@ -139,7 +138,7 @@ class StoreClientState(BaseModel):
state: SpectatorState | None
beatmap_status: BeatmapRankStatus
checksum: str
gamemode: GameMode
ruleset_id: int
score_token: int
watched_user: set[int]
score: StoreScore