diff --git a/frontends/quick_frontend/quick_card_game.py b/frontends/quick_frontend/quick_card_game.py index a8add5c5..2bf1b1f3 100644 --- a/frontends/quick_frontend/quick_card_game.py +++ b/frontends/quick_frontend/quick_card_game.py @@ -101,7 +101,7 @@ class QuickCardGame(): if self.state == "chien": self.to_show = [] self.state = "play" - self.__fakePlay() #gof: + #self.__fakePlay() #gof: def __fakePlay(self): """Convenience method for stupid autoplay @@ -149,5 +149,5 @@ class QuickCardGame(): self.hand.append(self.cards[suit, value]) self.hand.sort() - self.__fakePlay() #gof: + #self.__fakePlay() #gof: diff --git a/frontends/wix/card_game.py b/frontends/wix/card_game.py index 33d9e75e..79641eed 100644 --- a/frontends/wix/card_game.py +++ b/frontends/wix/card_game.py @@ -121,7 +121,7 @@ class CardPanel(QuickCardGame,wx.Panel): self._recalc_ori() self.Refresh() - #gof: wx.MessageDialog(self, _("Cards played are invalid !"), _("Error"), wx.OK | wx.ICON_ERROR).ShowModal() + wx.MessageDialog(self, _("Cards played are invalid !"), _("Error"), wx.OK | wx.ICON_ERROR).ShowModal() def _is_on_hand(self, pos_x, pos_y): """Return True if the coordinate are on the hand cards"""