From 227b054279a53031131f8b3e20efad50195b664a Mon Sep 17 00:00:00 2001 From: Dan Albert Date: Sun, 14 Nov 2021 22:33:47 +0100 Subject: [PATCH] Fix incorrect radio range for AN/ARC-222. Fixes https://github.com/dcs-liberation/dcs_liberation/issues/1740 --- changelog.md | 3 ++- gen/radios.py | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/changelog.md b/changelog.md index 0aabf09d..930c2de5 100644 --- a/changelog.md +++ b/changelog.md @@ -7,6 +7,7 @@ Saves from 5.0.0 are compatible with 5.0.1. ## Fixes * **[Mission Generation]** Fixed mission scripting error when using a dedicated server. +* **[Mission Generator]** Fixed incorrect radio specification for the AN/ARC-222. # 5.0.0 @@ -43,7 +44,7 @@ Saves from 4.x are not compatible with 5.0. ## Fixes * **[Campaign]** Naval control points will no longer claim ground objectives during campaign generation and prevent them from spawning. -* **[Campaign]** Units aboard suck cargo ships will now have their losses tracked properly. +* **[Campaign]** Units aboard sunk cargo ships will now have their losses tracked properly. * **[Mission Generation]** Mission results and other files will now be opened with enforced utf-8 encoding to prevent an issue where destroyed ground units were untracked because of special characters in their names. * **[Mission Generation]** Fixed generation of landing waypoints so that the AI obeys them. * **[Mission Generation]** AI carrier aircraft with a start time of T+0 will now start at T+1s to avoid traffic jams. diff --git a/gen/radios.py b/gen/radios.py index 6cffb372..f54a156b 100644 --- a/gen/radios.py +++ b/gen/radios.py @@ -2,7 +2,7 @@ import itertools import logging from dataclasses import dataclass -from typing import Dict, FrozenSet, Iterator, List, Reversible, Set, Tuple +from typing import Dict, FrozenSet, Iterator, List, Set, Tuple @dataclass(frozen=True) @@ -127,7 +127,7 @@ RADIOS: List[Radio] = [ RadioRange(MHz(30), MHz(88), MHz(1)), ), ), - Radio("AN/ARC-222", (RadioRange(MHz(116), MHz(174), step=MHz(1)),)), + Radio("AN/ARC-222", (RadioRange(MHz(116), MHz(152), step=MHz(1)),)), Radio("SCR-522", (RadioRange(MHz(100), MHz(156), step=MHz(1)),)), Radio("A.R.I. 1063", (RadioRange(MHz(100), MHz(156), step=MHz(1)),)), Radio("BC-1206", (RadioRange(kHz(200), kHz(400), step=kHz(10)),)),