[gcompris] explore activities, play sound after bonus



commit ae4186c4fb4354498c80cc06707aa55b25d8aaa1
Author: Bruno Coudoin <bruno coudoin free fr>
Date:   Fri Sep 14 08:15:24 2012 +0200

    explore activities, play sound after bonus
    
    Now the next sound is played when the bonus display is complete,
    not just when it appears.

 src/explore-activity/explore.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/explore-activity/explore.py b/src/explore-activity/explore.py
index b025a29..3f221de 100644
--- a/src/explore-activity/explore.py
+++ b/src/explore-activity/explore.py
@@ -547,7 +547,7 @@ class Gcompris_explore:
         strn = u'%c' % utf8char
 
     def pause(self, pause):
-        if self.next_action:
+        if not pause and self.next_action:
             self.next_action()
             self.next_action = None
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]