Bastien Sevajol 7 years ago
parent
commit
380b3f23f3
1 changed files with 4 additions and 1 deletions
  1. 4 1
      opencombat/simulation/behaviour.py

+ 4 - 1
opencombat/simulation/behaviour.py View File

124
         target_position = data['target_position']
124
         target_position = data['target_position']
125
 
125
 
126
         events = list()
126
         events = list()
127
-        events.append(FireEvent(shooter_subject_id=self.subject.id, target_position=target_position))
127
+        events.append(FireEvent(
128
+            shooter_subject_id=self.subject.id,
129
+            target_position=target_position,
130
+        ))
128
 
131
 
129
         # Must be check if target is not already dead (killed same cycle)
132
         # Must be check if target is not already dead (killed same cycle)
130
         if kill and COLLECTION_ALIVE in target_subject.collections:
133
         if kill and COLLECTION_ALIVE in target_subject.collections: