kiowa update

This commit is contained in:
spencershepard 2024-06-09 14:20:54 -07:00 committed by Spencer Shepard
parent 143c6991ea
commit 6b2882bd12
2 changed files with 3 additions and 4 deletions

View File

@ -110,8 +110,7 @@ def getUnitsFromMiz(file, side='both'):
source_mission = dcs.mission.Mission()
#try:
if True:
try:
source_mission.load_file(file)
if side == 'both':
sides = ['red', 'blue']
@ -144,9 +143,9 @@ def getUnitsFromMiz(file, side='both'):
forces["aircraft"] = planes + helicopters
return forces
except:
logger.error("Failed to load units from " + file)
#except:
# logger.error("Failed to load units from " + file)
def getDefaultLoadouts():
print("Getting default loadouts")

Binary file not shown.