소스 검색

bug fix: set the previous direction

Bastien Sevajol 9 년 전
부모
커밋
7daf411093
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      intelligine/synergy/event/move/MoveAction.py

+ 1 - 0
intelligine/synergy/event/move/MoveAction.py 파일 보기

@@ -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)