diff options
Diffstat (limited to 'Saludame.activity/game.py')
-rwxr-xr-x | Saludame.activity/game.py | 6 |
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()) |