diff --git a/Generator/MissionGenerator.py b/Generator/MissionGenerator.py index 2bd9a51..899314c 100644 --- a/Generator/MissionGenerator.py +++ b/Generator/MissionGenerator.py @@ -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.") diff --git a/Generator/RotorOpsImport.py b/Generator/RotorOpsImport.py index 76554fe..c312b54 100644 --- a/Generator/RotorOpsImport.py +++ b/Generator/RotorOpsImport.py @@ -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.") diff --git a/Generator/version.py b/Generator/version.py index ab79575..e35a7d1 100644 --- a/Generator/version.py +++ b/Generator/version.py @@ -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' diff --git a/MissionGenerator.exe b/MissionGenerator.exe index 639b59d..efcd5b1 100644 Binary files a/MissionGenerator.exe and b/MissionGenerator.exe differ