Skip to content

Commit

Permalink
Whoops. Left in a high powerup chance while testing.
Browse files Browse the repository at this point in the history
  • Loading branch information
asweigart committed Aug 10, 2012
1 parent deeff18 commit 3603a9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion square-shooter/square-shooter_makeover.py
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ def spawn(self):

if self.kind == "small":
# Small Bubbles do not create new Bubbles, but might create Powerups.
if random.random() < 10.25:
if random.random() < 0.25:
spawned_powerups.append(Powerup(self.pos))
else:
# Medium and Big Bubbles create new Bubble objects of the next smaller size. They don't create Powerups.
Expand Down

0 comments on commit 3603a9e

Please sign in to comment.