summaryrefslogtreecommitdiff
path: root/asteroid.py
diff options
context:
space:
mode:
Diffstat (limited to 'asteroid.py')
-rw-r--r--asteroid.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/asteroid.py b/asteroid.py
index c77618c..3ab16d9 100644
--- a/asteroid.py
+++ b/asteroid.py
@@ -5,7 +5,7 @@ class Asteroid(CircleShape):
super().__init__(x, y, radius)
def draw(self, screen):
- pygame.draw.circle(screen, "white", self.position, 2)
+ pygame.draw.circle(screen, "white", self.position, self.radius, 2)
def update(self, dt):
self.position += self.velocity * dt