Refactor helper assignment in PrefabManager to use Main.helper
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user