mirror of
https://github.com/dcs-retribution/dcs-retribution.git
synced 2025-11-10 15:41:24 +00:00
Simplify and rename TACAN registry reserve function (#1559)
* Simplify and rename TACAN registry reserve function * Remove unused tacan error
This commit is contained in:
@@ -228,11 +228,7 @@ class Operation:
|
||||
if beacon.channel is None:
|
||||
logging.error(f"TACAN beacon has no channel: {beacon.callsign}")
|
||||
else:
|
||||
cls.tacan_registry.reserve(
|
||||
beacon.tacan_channel,
|
||||
TacanUsage.TransmitReceive,
|
||||
ignore_rules=True,
|
||||
)
|
||||
cls.tacan_registry.mark_unavailable(beacon.tacan_channel)
|
||||
|
||||
@classmethod
|
||||
def _create_radio_registry(
|
||||
|
||||
Reference in New Issue
Block a user