Fix auth hashing and lobby runtime handling
Some checks failed
ci / tests (push) Has been cancelled

This commit is contained in:
dan
2025-12-25 03:30:51 +03:00
parent 46a07f548b
commit e5e52ed1fe
5 changed files with 20 additions and 14 deletions

View File

@@ -95,7 +95,7 @@ def _trade_to_schema(trade: TradeOffer) -> TradeOfferSchema:
def _build_state(game: Game, runtime) -> GameStateSchema:
if game.status != "running" or runtime is None:
if game.status != "running" or runtime is None or runtime.env is None:
return GameStateSchema(
id=game.id,
name=game.name,