diff --git a/MiraAPI/Patches/Freeplay/TaskAdderPatches.cs b/MiraAPI/Patches/Freeplay/TaskAdderPatches.cs index 77dc106..59d87dd 100644 --- a/MiraAPI/Patches/Freeplay/TaskAdderPatches.cs +++ b/MiraAPI/Patches/Freeplay/TaskAdderPatches.cs @@ -181,7 +181,7 @@ internal static class TaskAdderPatches { __instance.PathText.fontSizeMin = 3; __instance.PathText.fontSizeMax = 3; - __instance.transform.FindChild("TitleText_TMP").gameObject.SetActive(false); + __instance.transform.FindChild("TitleText_TMP")?.gameObject.DestroyImmediate(); } __instance.ActiveItems.ToArray().Do(x => x.gameObject.Destroy());