mirror of
https://github.com/spencershepard/RotorOps.git
synced 2025-11-10 15:45:30 +00:00
kiowa update
This commit is contained in:
parent
143c6991ea
commit
6b2882bd12
@ -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.
Loading…
x
Reference in New Issue
Block a user