Permalink
Browse files

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

  • Loading branch information...
1 parent 60fd1e7 commit 5e0957e41bf115a8b358e528a14b8b8ad3c79302 @asweigart committed Aug 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 square-shooter/square-shooter_makeover.py
@@ -324,7 +324,7 @@ def update(self, delta_t):
self.lives += 1
self.init_level(self.level)
return
- elif self.ship != None and not self.ship.has_freeze():
+ elif self.ship == None or not self.ship.has_freeze():
# update all the bubbles
for bubble in self.bubbles:
bubble.update(delta_t)

0 comments on commit 5e0957e

Please sign in to comment.