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()
|
source_mission = dcs.mission.Mission()
|
||||||
|
|
||||||
#try:
|
try:
|
||||||
if True:
|
|
||||||
source_mission.load_file(file)
|
source_mission.load_file(file)
|
||||||
if side == 'both':
|
if side == 'both':
|
||||||
sides = ['red', 'blue']
|
sides = ['red', 'blue']
|
||||||
@ -144,9 +143,9 @@ def getUnitsFromMiz(file, side='both'):
|
|||||||
forces["aircraft"] = planes + helicopters
|
forces["aircraft"] = planes + helicopters
|
||||||
|
|
||||||
return forces
|
return forces
|
||||||
|
except:
|
||||||
|
logger.error("Failed to load units from " + file)
|
||||||
|
|
||||||
#except:
|
|
||||||
# logger.error("Failed to load units from " + file)
|
|
||||||
|
|
||||||
def getDefaultLoadouts():
|
def getDefaultLoadouts():
|
||||||
print("Getting default loadouts")
|
print("Getting default loadouts")
|
||||||
|
|||||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user