Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Whoops. Left in a high powerup chance while testing.

  • Loading branch information...
commit 3603a9e4b0cffba11f6302567687e3828a92daac 1 parent deeff18
Al Sweigart authored August 10, 2012
2  square-shooter/square-shooter_makeover.py
@@ -146,7 +146,7 @@ def spawn(self):
146 146
 
147 147
         if self.kind == "small":
148 148
             # Small Bubbles do not create new Bubbles, but might create Powerups.
149  
-            if random.random() < 10.25:
  149
+            if random.random() < 0.25:
150 150
                 spawned_powerups.append(Powerup(self.pos))
151 151
         else:
152 152
             # Medium and Big Bubbles create new Bubble objects of the next smaller size. They don't create Powerups.

0 notes on commit 3603a9e

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