Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Got rid of a deprecation warning.

  • Loading branch information...
commit c10a392460373033183f6ebffe1cd49ce0d48edd 1 parent 2acce1a
namaste authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  soylent/weapon/Hero.py
View
2  soylent/weapon/Hero.py
@@ -190,7 +190,7 @@ def Draw(self, screen):
if len(self.dragpoints.pos) > 0:
"""Draw evenly spaced circles"""
for pos in self.orblist:
- pygame.draw.circle(screen, (100,100,100), pos, 10, 3)
+ pygame.draw.circle(screen, (100,100,100), (int(pos[0]), int(pos[1])), 10, 3)
"""draw red line"""
if len(self.dragpoints.pos) > 1:
Please sign in to comment.
Something went wrong with that request. Please try again.