Fixes the expeditionary channel being prompted by the departmental radio key (#20991)

As title. Spaghetti code strikes once more.
This commit is contained in:
hazelrat
2025-07-12 12:10:57 +00:00
committed by GitHub
parent 7459e0ac5b
commit 369b30adcb
2 changed files with 60 additions and 2 deletions
@@ -378,7 +378,7 @@ var/global/list/default_interrogation_channels = list(
if(channel && channels && channels.len > 0)
if(channel == "department")
for(var/freq in channels)
if(freq == "Common" || freq == "Entertainment")
if(freq == "Common" || freq == "Entertainment" || freq == "Expeditionary")
continue
channel = freq
break
@@ -411,7 +411,7 @@ var/global/list/default_interrogation_channels = list(
if(channels && channels.len > 0)
if(message_mode == "department") // Department radio shortcut
for(var/freq in channels)
if(freq == "Common" || freq == "Entertainment")
if(freq == "Common" || freq == "Entertainment" || freq == "Expeditionary")
continue
message_mode = freq
break