ソースを参照

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)