Future proofs tcomms code (#14805)

This commit is contained in:
AffectedArc07
2020-11-01 14:26:02 +00:00
committed by GitHub
parent 3271af3357
commit 4da9abeb50
@@ -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