From deb7227ce931f368c9c497a63f9293d19465d5f6 Mon Sep 17 00:00:00 2001 From: RndName Date: Thu, 30 Dec 2021 18:47:22 +0100 Subject: [PATCH] Fix Viggen FR22 group channel id and mention in changelog --- changelog.md | 7 ++++--- game/radio/channels.py | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/changelog.md b/changelog.md index 538a4e7b..bf9fa408 100644 --- a/changelog.md +++ b/changelog.md @@ -15,9 +15,10 @@ Saves from 5.x are not compatible with 6.0. ## Fixes * **[Campaign]** Fixed some minor issues in campaigns which generated error messages in the log. -* **[Mission Generator]** Fixed incorrect radio specification for the AN/ARC-222. -* **[Mission Generator]** Fixed mission scripting error when using a dedicated server. -* **[Mission Generator]** Fixed an issue where empty convoys lead to an index error when a point capture made a pending transfer of units not completable anymore. +* **[Mission Generation]** Fixed incorrect radio specification for the AN/ARC-222. +* **[Mission Generation]** Fixed mission scripting error when using a dedicated server. +* **[Mission Generation]** Fixed an issue where empty convoys lead to an index error when a point capture made a pending transfer of units not completable anymore. +* **[Mission Generation]** Corrected Viggen FR22 & FR24 preset channels for the DCS 2.7.9 update * **[UI]** Enable / Disable the settings, save and stats actions if no game is loaded to prevent an error as these functions can only be used on a valid game. # 5.0.0 diff --git a/game/radio/channels.py b/game/radio/channels.py index caf658c6..98ca72eb 100644 --- a/game/radio/channels.py +++ b/game/radio/channels.py @@ -287,7 +287,7 @@ class ViggenChannelNamer(ChannelNamer): ] if channel_id >= 41: # Special channels are 41-47 return special_channels[channel_id - 41] - return f"FR 22 Group 10{channel_id-1}" + return f"FR 22 Group {99 + channel_id}" @classmethod def name(cls) -> str: