diff options
author | Florian Jung <flo@windfisch.org> | 2015-08-28 17:27:42 +0200 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2015-08-28 18:37:47 +0200 |
commit | e4b732abd4ea034f75645d333ff5b357d1b612e7 (patch) | |
tree | 6d455caf4a92a4df7ac4ada2a8bfe2d62e95fed9 /gui.py | |
parent | 024a2e35638436dd36379d86f1619b617c2ecea9 (diff) |
track shooting angles and distances
Diffstat (limited to 'gui.py')
-rw-r--r-- | gui.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -211,7 +211,7 @@ def draw_cell(cell): cx2,cy2 = world_to_win_pt(p2,c.player.center) cx3,cy3 = world_to_win_pt(p3,c.player.center) - except AttributeError: + except (AttributeError, TypeError): cx2,cy2=cx,cy cx3,cy3=cx,cy |