internal static void Init() { if (!Instance) { Instance = new GameObject().AddComponent <Spooper>(); } BS_Utils.Gameplay.ScoreSubmission.DisableSubmission("SpoopyBloqs"); }
public void OnActiveSceneChanged(Scene prevScene, Scene nextScene) { if (nextScene.name == "GameCore" && IsEnabled) { harmony.PatchAll(Assembly.GetExecutingAssembly()); Spooper.Init(); } else { if (harmony.HasAnyPatches("com.steven.happy.halloween")) { harmony.UnpatchAll("com.steven.happy.halloween"); } } }