summaryrefslogtreecommitdiff
path: root/subscriber.py
diff options
context:
space:
mode:
Diffstat (limited to 'subscriber.py')
-rw-r--r--subscriber.py4
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")