summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Jung <flo@windfisch.org>2015-08-11 02:57:22 +0200
committerFlorian Jung <flo@windfisch.org>2015-08-11 02:57:22 +0200
commit36251e2310c6e70d7fbb9cff4bf8bcd71f0ef248 (patch)
tree6aaa5f9c196a21c42398b51beb63713013fb3c90
parent078afaad7b988e20bb3dc36a5b1821c08d8a6a99 (diff)
parentd4f6807acab2cb0c3a1e5bd6d91fc16630c565f3 (diff)
Merge branch 'master' of github.com:Windfisch/agario-frickel
-rw-r--r--gui.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/gui.py b/gui.py
index ec4bcc3..800abc4 100644
--- a/gui.py
+++ b/gui.py
@@ -47,10 +47,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[0], c.player.center),
- world_to_win_pt(pos[1], c.player.center)
- )
+ pos = world_to_win_pt(pos, c.player.center)
if filled:
gfxdraw.filled_circle(screen, pos[0], pos[1], r, color)