Browse Source

bug fix: set the previous direction

Bastien Sevajol 9 years ago
parent
commit
7daf411093
1 changed files with 1 additions and 0 deletions
  1. 1 0
      intelligine/synergy/event/move/MoveAction.py

+ 1 - 0
intelligine/synergy/event/move/MoveAction.py View File

@@ -51,4 +51,5 @@ class MoveAction(Action):
51 51
             raise ActionAborted()
52 52
 
53 53
         obj.set_position(self._move_to_point)
54
+        obj.set_previous_direction(self._move_to_direction)
54 55
         obj.get_brain().get_part(BRAIN_PART_MOVE).done(obj, context)