fix(multiplayer): try to fix cannot spectate by changing state one by one

This commit is contained in:
MingxuanGame
2025-08-18 14:02:33 +00:00
parent 68f47c5a24
commit 13803c7054
2 changed files with 13 additions and 12 deletions

View File

@@ -6,7 +6,6 @@ import lzma
import struct
import time
from typing import override
from venv import logger
from app.calculator import clamp
from app.config import settings
@@ -19,6 +18,7 @@ from app.dependencies.database import engine, get_redis
from app.dependencies.fetcher import get_fetcher
from app.dependencies.storage import get_storage_service
from app.exception import InvokeException
from app.log import logger
from app.models.mods import APIMod, mods_to_int
from app.models.score import GameMode, LegacyReplaySoloScoreInfo, ScoreStatistics
from app.models.spectator_hub import (