Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed a regression where the bubbles freeze after the player dies.

  • Loading branch information...
commit 5e0957e41bf115a8b358e528a14b8b8ad3c79302 1 parent 60fd1e7
Al Sweigart authored August 09, 2012
2  square-shooter/square-shooter_makeover.py
@@ -324,7 +324,7 @@ def update(self, delta_t):
324 324
                 self.lives += 1
325 325
                 self.init_level(self.level)
326 326
                 return
327  
-        elif self.ship != None and not self.ship.has_freeze():
  327
+        elif self.ship == None or not self.ship.has_freeze():
328 328
             # update all the bubbles
329 329
             for bubble in self.bubbles:
330 330
                 bubble.update(delta_t)

0 notes on commit 5e0957e

Please sign in to comment.
Something went wrong with that request. Please try again.