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:
bbradson
2023-06-08 18:57:10 +02:00
parent d7ff5b96cd
commit 76c0f7a371
7 changed files with 14 additions and 5 deletions
@@ -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;