Refactor helper assignment in PrefabManager to use Main.helper

This commit is contained in:
2025-12-14 21:55:46 +01:00
parent 5b84511923
commit 9fbc01e6a4
2 changed files with 5 additions and 237 deletions

View File

@@ -26,9 +26,9 @@ namespace KCM
{
helper = _helper;
}
else if (Main.instance != null)
else if (Main.helper != null)
{
helper = Main.instance.helper;
helper = Main.helper;
}
if (helper == null)