소스 검색

add gohome mode (but empty) in mode matches

Bastien Sevajol 9 년 전
부모
커밋
d8c4f05a4e
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      intelligine/simulation/object/brain/part/transport/AntTakeBrainPart.py

+ 2 - 1
intelligine/simulation/object/brain/part/transport/AntTakeBrainPart.py 파일 보기

@@ -9,7 +9,8 @@ class AntTakeBrainPart(TakeBrainPart):
9 9
     # TODO: methode __init_ pour la classe ? Pour surcharger ici.
10 10
     _mode_matches = {
11 11
         MOVE_MODE_EXPLO: [TYPE_RESOURCE_TRANSFORMABLE],
12
-        MOVE_MODE_NURSE: [TYPE_NURSERY]
12
+        MOVE_MODE_NURSE: [TYPE_NURSERY],
13
+        MOVE_MODE_GOHOME: []
13 14
     }
14 15
 
15 16
     @classmethod