summaryrefslogtreecommitdiff
path: root/gui.py
diff options
context:
space:
mode:
Diffstat (limited to 'gui.py')
-rw-r--r--gui.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/gui.py b/gui.py
index 688c095..cf0710d 100644
--- a/gui.py
+++ b/gui.py
@@ -49,6 +49,7 @@ def draw_box(rect, color, filled=False, global_coords=True):
def draw_circle(pos, r, color, filled=False, global_coords=True):
if global_coords:
pos = world_to_win_pt(pos, c.player.center)
+ r = world_to_win_length(r)
if filled:
gfxdraw.filled_circle(screen, pos[0], pos[1], r, color)