mirror of
https://github.com/spencershepard/RotorOps.git
synced 2025-11-10 15:45:30 +00:00
bugfix: UH-1H frequencies (#62)
This commit is contained in:
parent
580064b939
commit
d6b33da411
@ -779,9 +779,7 @@ def checkVersion(splashscreen):
|
||||
avail_build = v["version"]
|
||||
avail_version = ver.parse(avail_build)
|
||||
current_version = ver.parse(version.version_string)
|
||||
current_maj_min = ver.parse(str(current_version.major) + "." + str(current_version.minor))
|
||||
avail_maj_min = ver.parse(str(avail_version.major) + "." + str(avail_version.minor))
|
||||
if avail_maj_min > current_maj_min:
|
||||
if avail_version > current_version:
|
||||
logger.warning("New version available. Please update to available version " + v["version"])
|
||||
msg = QMessageBox()
|
||||
msg.setWindowTitle(v["title"])
|
||||
@ -789,7 +787,7 @@ def checkVersion(splashscreen):
|
||||
msg.setIcon(QMessageBox.Icon.Information)
|
||||
x = msg.exec_()
|
||||
else:
|
||||
logger.info("Version check complete: running the latest version. (micro version ignored)")
|
||||
logger.info("Version check complete: running the latest version.")
|
||||
except:
|
||||
logger.error("Online version check failed.")
|
||||
|
||||
|
||||
@ -190,6 +190,7 @@ class ImportObjects:
|
||||
ng.units[0].fuel = group.units[0].fuel
|
||||
ng.units[0].gun = group.units[0].gun
|
||||
ng.units[0].hardpoint_racks = group.units[0].hardpoint_racks
|
||||
ng.frequency = group.frequency
|
||||
new_groups.append(ng)
|
||||
else:
|
||||
logger.warn("No pad unit (ie FARP, carrier) found, so can't add helicopters.")
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
# ROTOROPS VERSION
|
||||
maj_version = 1
|
||||
minor_version = 7
|
||||
patch_version = 0
|
||||
patch_version = 1
|
||||
|
||||
version_url = 'https://dcs-helicopters.com/app-updates/versioncheck.yaml'
|
||||
|
||||
|
||||
Binary file not shown.
Loading…
x
Reference in New Issue
Block a user