diff options
author | Florian Jung <flo@windfisch.org> | 2015-08-24 22:29:08 +0200 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2015-08-24 22:29:08 +0200 |
commit | 5dfe8e88c44e23e8b24c42028b3b2456abaa6cef (patch) | |
tree | fc480bf7295502b707a9e78399335bb2a30babdd /subscriber.py | |
parent | 12557023aec828af6a9a78473273389750d68330 (diff) |
store cell.movement_angle
Diffstat (limited to 'subscriber.py')
-rw-r--r-- | subscriber.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subscriber.py b/subscriber.py index 3312cbd..01853a8 100644 --- a/subscriber.py +++ b/subscriber.py @@ -100,7 +100,7 @@ class EnhancingSubscriber(DummySubscriber): try: oldpos = cell.poslog[-3-1] cell.movement = (cell.pos - oldpos)/3 + cell.movement_angle = cell.movement.angle() except (AttributeError, IndexError): # no oldpos available - cell.movement = None pass |