mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-15 05:04:15 +01:00
Fix a weird age-old bug apparently?
This commit is contained in:
parent
125e5628ec
commit
65627b5002
1 changed files with 4 additions and 4 deletions
|
|
@ -274,17 +274,17 @@ public class CollectionCacheManager : IDisposable
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
type.HandlingInfo(out _, out var recomputeList, out var reload);
|
type.HandlingInfo(out _, out var recomputeList, out var justAdd);
|
||||||
|
|
||||||
if (!recomputeList)
|
if (!recomputeList)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
foreach (var collection in _storage.Where(collection => collection.HasCache && collection[mod.Index].Settings is { Enabled: true }))
|
foreach (var collection in _storage.Where(collection => collection.HasCache && collection[mod.Index].Settings is { Enabled: true }))
|
||||||
{
|
{
|
||||||
if (reload)
|
if (justAdd)
|
||||||
collection._cache!.ReloadMod(mod, true);
|
|
||||||
else
|
|
||||||
collection._cache!.AddMod(mod, true);
|
collection._cache!.AddMod(mod, true);
|
||||||
|
else
|
||||||
|
collection._cache!.ReloadMod(mod, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue