From 4da9abeb50004e39b5d84b740a73cf6f7cfdfa41 Mon Sep 17 00:00:00 2001 From: AffectedArc07 <25063394+AffectedArc07@users.noreply.github.com> Date: Sun, 1 Nov 2020 14:26:02 +0000 Subject: [PATCH] Future proofs tcomms code (#14805) --- code/game/objects/items/devices/radio/radio.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/items/devices/radio/radio.dm b/code/game/objects/items/devices/radio/radio.dm index c5f512f568e..01a8096e599 100644 --- a/code/game/objects/items/devices/radio/radio.dm +++ b/code/game/objects/items/devices/radio/radio.dm @@ -293,7 +293,7 @@ GLOBAL_LIST_INIT(default_medbay_channels, list( if(loc && loc.z) tcm.source_level = loc.z // For anyone that reads this: This used to pull from a LIST from the CONFIG DATUM. WHYYYYYYYYY!!!!!!!! -aa else - tcm.source_level = 1 // Assume Z1 if we dont have an actual Z level available to us. + tcm.source_level = level_name_to_num(MAIN_STATION) // Assume station level if we dont have an actual Z level available to us. tcm.freq = connection.frequency tcm.follow_target = follow_target