fix: store even if already cached

This commit is contained in:
Anna 2021-05-08 18:47:52 -04:00
parent be0453712a
commit e0f2c10a0f
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}