Bugfixes for world object caches not clearing when reloading without restart and retextures of a small number of things like fire not working
This commit is contained in:
@@ -22,7 +22,7 @@ public class ContentFinderCaching : ClassWithFishPrepatches
|
||||
{
|
||||
ref var cache = ref Cache.ByReference<string, CacheValue<T>>.GetOrAddReference(itemPath);
|
||||
|
||||
if (!cache.Cached)
|
||||
if (!cache.Cached || !OnStartup.State.Initialized)
|
||||
return __state = true;
|
||||
|
||||
__result = cache.Value;
|
||||
|
||||
Reference in New Issue
Block a user