Browse Source

add gohome mode (but empty) in mode matches

Bastien Sevajol 9 years ago
parent
commit
d8c4f05a4e

+ 2 - 1
intelligine/simulation/object/brain/part/transport/AntTakeBrainPart.py View File

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