mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Fix signal scope breaking at eye
This commit is contained in:
parent
2014195d2a
commit
24f785a025
@ -102,7 +102,9 @@ namespace NewHorizons.Builder.Props
|
|||||||
}
|
}
|
||||||
|
|
||||||
public static string GetCustomFrequencyName(SignalFrequency frequencyName)
|
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);
|
_customFrequencyNames.TryGetValue(frequencyName, out string name);
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user