This commit is contained in:
2026-03-18 18:09:08 +01:00
parent 4e3fd55b54
commit 3045d3ebd5
2 changed files with 1 additions and 1 deletions

View File

@@ -141,6 +141,7 @@ WIKIDATA_INSTANCE_TYPE_MAP = {
"Q23442": CardType.location, # island "Q23442": CardType.location, # island
"Q82794": CardType.location, # geographic region "Q82794": CardType.location, # geographic region
"Q34442": CardType.location, # road "Q34442": CardType.location, # road
"Q192611": CardType.location, # electoral unit
"Q398141": CardType.location, # school district "Q398141": CardType.location, # school district
"Q133056": CardType.location, # mountain pass "Q133056": CardType.location, # mountain pass
"Q3624078": CardType.location, # sovereign state "Q3624078": CardType.location, # sovereign state

View File

@@ -456,7 +456,6 @@ async def start_solo_game(deck_id: str, user: UserModel = Depends(get_current_us
for card in ai_cards: for card in ai_cards:
db.delete(card) db.delete(card)
deck.times_played += 1
db.commit() db.commit()
game_id = create_solo_game(str(user.id), user.username, player_cards, ai_cards, deck_id) game_id = create_solo_game(str(user.id), user.username, player_cards, ai_cards, deck_id)