AI Strike flight will bomb all their targets correctly

This commit is contained in:
Khopa
2020-05-31 15:43:56 +02:00
parent ab3ea84d70
commit 0b9d827ad6
6 changed files with 26 additions and 12 deletions

View File

@@ -170,3 +170,10 @@ class ControlPoint:
return closest_radial
def find_ground_objects_by_obj_name(self, obj_name):
found = []
for g in self.ground_objects:
if g.obj_name == obj_name:
found.append(g)
return found