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,7 +16,7 @@ def bug_die(bug, context):
16 16
                                            COL_WALKER, \
17 17
                                            COL_ALIVE],
18 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 21
 class Simulation(BaseSimulation):
22 22