Only update the guess for the current game

This commit is contained in:
c0de 2022-11-10 21:05:21 -06:00
parent 83b6bda124
commit 946d826dc4

View File

@ -217,8 +217,8 @@ class GameManager:
)
Guess.update({"guess": value}).where(
# (Guess.game_id == self.game.game_id)
# &
(Guess.game.game_id == self.game.game_id)
&
(Guess.player_id == self.message.author.id)
).execute()