瀏覽代碼

add gohome mode (but empty) in mode matches

Bastien Sevajol 10 年之前
父節點
當前提交
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
     # TODO: methode __init_ pour la classe ? Pour surcharger ici.
9
     # TODO: methode __init_ pour la classe ? Pour surcharger ici.
10
     _mode_matches = {
10
     _mode_matches = {
11
         MOVE_MODE_EXPLO: [TYPE_RESOURCE_TRANSFORMABLE],
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
     @classmethod
16
     @classmethod