mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
also do GetCustomSignalName
even though there is no NRE there could be in future
This commit is contained in:
parent
d3f8c55f31
commit
3694723ee8
@ -141,6 +141,7 @@ namespace NewHorizons.Builder.Props.Audio
|
|||||||
|
|
||||||
public static string GetCustomSignalName(SignalName signalName)
|
public static string GetCustomSignalName(SignalName signalName)
|
||||||
{
|
{
|
||||||
|
if (_customSignalNames == null) return string.Empty;
|
||||||
_customSignalNames.TryGetValue(signalName, out string name);
|
_customSignalNames.TryGetValue(signalName, out string name);
|
||||||
return name;
|
return name;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user