Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGonzalo Odiard <godiard@gmail.com>2014-07-21 20:37:08 (GMT)
committer Gonzalo Odiard <godiard@gmail.com>2014-07-21 20:37:08 (GMT)
commitc1cf72793bb694558778eaaff9ba97acd2fa68c9 (patch)
treef53dd07e9d24064c1f7c9034f1fb341eaa8148d3
parenta216a52b3c369454588eaef45163d12a25a31f0b (diff)
Fix card not flop with multiple fast tuches
-rw-r--r--game.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/game.py b/game.py
index 3789f88..caebb3a 100644
--- a/game.py
+++ b/game.py
@@ -177,9 +177,6 @@ class MemorizeGame(GObject.GObject):
def card_flipped(self, widget, identifier, signal=False):
self.model.count = self.model.count + 1
- if self._flop_cards:
- GObject.source_remove(self._flop_card_timeout)
- self.flop_card(self._flop_cards[0], self._flop_cards[1])
# Check if is my turn
if (not self.sentitive and not signal) or \