Browse Source

when ant die: allow not in for states remove

Bastien Sevajol 9 years ago
parent
commit
c3a23b90f9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      intelligine/synergy/Simulation.py

+ 1 - 1
intelligine/synergy/Simulation.py View File

16
                                            COL_WALKER, \
16
                                            COL_WALKER, \
17
                                            COL_ALIVE],
17
                                            COL_ALIVE],
18
                                           allow_not_in=True)
18
                                           allow_not_in=True)
19
-    context.metas.states.remove_list(bug.get_id(), [ALIVE, ATTACKABLE])
19
+    context.metas.states.remove_list(bug.get_id(), [ALIVE, ATTACKABLE], allow_not_in=True)
20
 
20
 
21
 class Simulation(BaseSimulation):
21
 class Simulation(BaseSimulation):
22
 
22