mirror of
https://github.com/BepInEx/BepInEx.git
synced 2026-10-20 01:46:13 +00:00
Merge pull request #222
This commit is contained in:
1 parent
cc1fe4b163
commit
9bed791bd6
2 files changed
+2
-2
No files matched your search
@@ -63,7 +63,7 @@ namespace BepInEx.Unity.Bootstrap
|
||||
|
||||
ThreadingHelper.Initialize();
|
||||
|
||||
ManagerObject = new GameObject("BepInEx_Manager");
|
||||
ManagerObject = new GameObject("BepInEx_Manager") { hideFlags = HideFlags.HideAndDontSave };
|
||||
Object.DontDestroyOnLoad(ManagerObject);
|
||||
|
||||
var productNameProp =
|
||||
|
||||
@@ -63,7 +63,7 @@ namespace BepInEx
|
||||
|
||||
internal static void Initialize()
|
||||
{
|
||||
var go = new GameObject("BepInEx_ThreadingHelper");
|
||||
var go = new GameObject("BepInEx_ThreadingHelper") { hideFlags = HideFlags.HideAndDontSave };
|
||||
DontDestroyOnLoad(go);
|
||||
Instance = go.AddComponent<ThreadingHelper>();
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user