Skip to content

Commit

Permalink
Corrigindo implementações de missão de novo
Browse files Browse the repository at this point in the history
  • Loading branch information
JoseFilipi committed Sep 7, 2024
1 parent 8ef477a commit 738a45e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/game.py
Original file line number Diff line number Diff line change
Expand Up @@ -283,8 +283,8 @@ def abre_correio(id_jogador):
escolha = int(input("Digite o número da missão que quer fazer: "))
if escolha in missoes[0]:
cursor.execute("INSERT INTO instancia_missao (id_missao, id_jogador, concluida) VALUES (%s, %s, %s);", (escolha, id_jogador, 'false'))
conn.commit()
print(f'Missão {escolha} selecionada!')
return
else:
print('Valor inválido!')

Expand Down

0 comments on commit 738a45e

Please sign in to comment.