Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/Saludame.activity/game.py
diff options
context:
space:
mode:
Diffstat (limited to 'Saludame.activity/game.py')
-rwxr-xr-xSaludame.activity/game.py6
1 files changed, 2 insertions, 4 deletions
diff --git a/Saludame.activity/game.py b/Saludame.activity/game.py
index 8af49d1..0523195 100755
--- a/Saludame.activity/game.py
+++ b/Saludame.activity/game.py
@@ -56,8 +56,6 @@ class Main():
"""
global running, pauses
- print "A"
-
if from_sugar:
import gtk
@@ -76,8 +74,6 @@ class Main():
pygame.display.update()
- print "B"
-
# This clock is used to keep the game at the desired FPS.
clock = pygame.time.Clock()
@@ -119,6 +115,8 @@ class Main():
running = False
elif event.type == pygame.MOUSEBUTTONDOWN:
self.windows_controller.handle_mouse_down(pygame.mouse.get_pos())
+ elif event.type == pygame.VIDEOEXPOSE:
+ self.windows_controller.reload_main = True
self.windows_controller.handle_mouse_over(pygame.mouse.get_pos())