Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/game.py
diff options
context:
space:
mode:
Diffstat (limited to 'game.py')
-rwxr-xr-xgame.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/game.py b/game.py
index 1dede2e..f16d903 100755
--- a/game.py
+++ b/game.py
@@ -99,7 +99,6 @@ class PacmanGame:
# start with a small maze using a seed that will be different each time you play
self.maze = Maze(seed, 33, 23)
self.reset()
- self.frame = 0
pygame.font.init()
self.font = pygame.font.Font(None, 30)
@@ -313,8 +312,7 @@ class PacmanGame:
clock = pygame.time.Clock()
while self.running:
- if (self.pause == 0):
- self.frame += 1
+
# process all queued events
for event in pygame.event.get():
self.processEvent(event)