Browse Source

Fix player.get_side_quest

v2
Ceda EI 3 years ago
parent
commit
99c1795b93
  1. 2
      questable.py

2
questable.py

@ -171,7 +171,7 @@ class player():
def get_side_quest(self, qid):
cursor = self.DB.cursor()
query = ('SELECT chat_id, qid, name, importance, difficulty, '
'state FROM quests WHERE chat_id = ? AND qid = ?')
'state FROM side_quests WHERE chat_id = ? AND qid = ?')
cursor.execute(query, (self.CHAT_ID, qid))
row = cursor.fetchone()
if row is None:

Loading…
Cancel
Save