Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Whoops. Left in a high powerup chance while testing.

  • Loading branch information...
commit 3603a9e4b0cffba11f6302567687e3828a92daac 1 parent deeff18
@asweigart authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  square-shooter/square-shooter_makeover.py
View
2  square-shooter/square-shooter_makeover.py
@@ -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.
Please sign in to comment.
Something went wrong with that request. Please try again.