Fix signal scope breaking at eye

This commit is contained in:
Joshua Thome 2022-07-17 18:15:05 -05:00
parent 2014195d2a
commit 24f785a025

View File

@ -102,7 +102,9 @@ namespace NewHorizons.Builder.Props
}
public static string GetCustomFrequencyName(SignalFrequency frequencyName)
{
{
// Can happen if NH not initialized because we loaded into Eye first or smth
if (_customFrequencyNames == null) return null;
_customFrequencyNames.TryGetValue(frequencyName, out string name);
return name;
}