This commit is contained in:
JohnCorby 2022-01-27 16:22:17 -08:00
parent 65919be25f
commit 7b0e60679c

View File

@ -15,8 +15,7 @@ namespace QSB.Utility
private static readonly Dictionary<Transform, (int SiblingIndex, Transform Parent)> _cache = new();
public static void Init()
{
public static void Init() =>
LoadManager.OnStartSceneLoad += (_, _) =>
{
DebugLog.DebugWrite("cleared cache");
@ -28,7 +27,6 @@ namespace QSB.Utility
_patched = true;
}
};
}
public static void WorldObjectsReady()
{