mirror of
https://github.com/xivdev/Penumbra.git
synced 2025-12-15 13:14:17 +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;
|
||||
}
|
||||
|
||||
type.HandlingInfo(out _, out var recomputeList, out var reload);
|
||||
type.HandlingInfo(out _, out var recomputeList, out var justAdd);
|
||||
|
||||
if (!recomputeList)
|
||||
return;
|
||||
|
||||
foreach (var collection in _storage.Where(collection => collection.HasCache && collection[mod.Index].Settings is { Enabled: true }))
|
||||
{
|
||||
if (reload)
|
||||
collection._cache!.ReloadMod(mod, true);
|
||||
else
|
||||
if (justAdd)
|
||||
collection._cache!.AddMod(mod, true);
|
||||
else
|
||||
collection._cache!.ReloadMod(mod, true);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue