adjust for new penumbra

This commit is contained in:
Stanley Dimant
2022-07-09 13:05:11 +02:00
parent 1125077be3
commit 66c957093c
4 changed files with 9 additions and 10 deletions

View File

@@ -174,9 +174,8 @@ namespace MareSynchronos.UI
}
bool textIsUid = true;
var playerText = entry.OtherUID;
_showUidForEntry.TryGetValue(entry.OtherUID, out bool showUidInsteadOfName);
if (!showUidInsteadOfName && _configuration.GetCurrentServerUidComments().TryGetValue(entry.OtherUID, out playerText))
if (!showUidInsteadOfName && _configuration.GetCurrentServerUidComments().TryGetValue(entry.OtherUID, out var playerText))
{
if (playerText.IsNullOrEmpty())
{