From 0f22f7c4aee8d190bcdbe2983da3624be8e239d7 Mon Sep 17 00:00:00 2001 From: Anna Date: Tue, 10 May 2022 23:54:13 -0400 Subject: [PATCH] fix: don't call GetInfo twice --- NominaOcculta/Obscurer.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/NominaOcculta/Obscurer.cs b/NominaOcculta/Obscurer.cs index eeceacf..5b77fd8 100755 --- a/NominaOcculta/Obscurer.cs +++ b/NominaOcculta/Obscurer.cs @@ -373,7 +373,7 @@ internal class Obscurer : IDisposable { continue; } - if (this.Plugin.NameRepository.GetReplacement(name, this.GetInfo(chara)) is not { } replacement) { + if (this.Plugin.NameRepository.GetReplacement(name, info) is not { } replacement) { continue; }