Skip to content

Commit

Permalink
Arrumando Interagir com NPC
Browse files Browse the repository at this point in the history
  • Loading branch information
DanRocha18 committed Sep 13, 2024
1 parent e01584a commit 6fc811a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion game/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,7 @@ def interagir_com_npc(conn, jogador_id):
cursor.execute("""
SELECT n.id, n.nome, n.dialogo
FROM NPC n
JOIN Instancia_NPC i ON n.id = i.ID_NPC
JOIN Personagem i ON n.id = i.ID_NPC
WHERE i.localizacao = %s
""", (localizacao_jogador,))
npc = cursor.fetchone()
Expand Down

0 comments on commit 6fc811a

Please sign in to comment.