🐐
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user