From e0f2c10a0fc406ace704339b1676a63d8c371817 Mon Sep 17 00:00:00 2001 From: Anna Date: Sat, 8 May 2021 18:47:52 -0400 Subject: [PATCH] fix: store even if already cached --- SoundFilter/Filter.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SoundFilter/Filter.cs b/SoundFilter/Filter.cs index 46c5e97..bf487c4 100755 --- a/SoundFilter/Filter.cs +++ b/SoundFilter/Filter.cs @@ -192,7 +192,7 @@ namespace SoundFilter { // if we immediately have the scd data, cache it, otherwise add it to a waiting list to hopefully be picked up at sound play time if (scdData != IntPtr.Zero) { this.Scds[scdData] = path; - } else if (this.Scds.All(entry => entry.Value != path)) { + } else { // only add to the waiting list if we haven't resolved this path yet this.AsyncScds[(IntPtr) ret] = path; }