Merge pull request #222

This commit is contained in:
Kein authored and ghorsington committed 2021-04-06 21:44:07 +03:00
1 parent cc1fe4b163
commit 9bed791bd6
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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 =
+1 -1
View File
@@ -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>();
}