diff options
author | Florian Jung <flo@windfisch.org> | 2015-08-31 20:07:10 +0200 |
---|---|---|
committer | Florian Jung <flo@windfisch.org> | 2015-08-31 20:07:10 +0200 |
commit | 074b6cc570cdf897a2f9974617b53267faff6a13 (patch) | |
tree | f9e2e21d00c997d0754c6f89911acb313182aeed /subscriber.py | |
parent | 1b71192eca047f8d13d6570bb623627389e5acc3 (diff) |
virus{,2,3} logs for deviation
Diffstat (limited to 'subscriber.py')
-rw-r--r-- | subscriber.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/subscriber.py b/subscriber.py index ecec729..b89a6a9 100644 --- a/subscriber.py +++ b/subscriber.py @@ -214,9 +214,9 @@ class EnhancingSubscriber(DummySubscriber): raise KeyError else: cell.shoot_vec = cell.parent.pos - last_feed.poslog[0] - cell.shoot_vec2 = last_feed.poslog[0] - last_feed.poslog[-1] + cell.shoot_vec2 = last_feed.poslog[-1] - last_feed.poslog[0] try: - pos_when_shot = last_feed.parent.poslog[len(last_feed.poslog)] + pos_when_shot = last_feed.parent.poslog[-len(last_feed.poslog)] cell.shoot_vec3 = cell.parent.pos - pos_when_shot except: print("MOAAAHH") |