diff --git a/WorldPredownload/Main.cs b/WorldPredownload/Main.cs index ccea2b9..c2bd552 100644 --- a/WorldPredownload/Main.cs +++ b/WorldPredownload/Main.cs @@ -2,7 +2,7 @@ using UIExpansionKit.API; using WorldPredownload.UI; -[assembly: MelonInfo(typeof(WorldPredownload.WorldPredownload), "WorldPredownload", "1.5.3", "gompo", "https://github.com/gompocp/VRChatMods/releases/")] +[assembly: MelonInfo(typeof(WorldPredownload.WorldPredownload), "WorldPredownload", "1.6.0", "gompo", "https://github.com/gompocp/VRChatMods/releases/")] [assembly: MelonGame("VRChat", "VRChat")] [assembly: VerifyLoaderVersion(0, 4, 3, true)] diff --git a/WorldPredownload/UI/InviteButton.cs b/WorldPredownload/UI/InviteButton.cs index d9dad48..b97abf8 100644 --- a/WorldPredownload/UI/InviteButton.cs +++ b/WorldPredownload/UI/InviteButton.cs @@ -60,6 +60,7 @@ public class InviteButton public static void Setup() { + return; Button = Utilities.CloneGameObject(PATH_TO_GAMEOBJECT_TO_CLONE, PATH_TO_CLONE_PARENT); Button.GetRectTrans().SetAnchoredPos(Constants.InviteButtonPos); Button.SetName(Constants.INVITE_BUTTON_NAME); @@ -73,12 +74,14 @@ public static void Setup() public static void UpdateTextDownloadStopped() { + return; Button.SetText(Constants.BUTTON_IDLE_TEXT); CanChangeText = true; } public static void UpdateText() { + return; if (Utilities.GetSelectedNotification().notificationType.Equals("invite")) { Button.SetActive(true); @@ -110,6 +113,7 @@ public static void UpdateText() public static IEnumerator InviteButtonTimer(int time) { + yield break; canDownload = false; for (var i = time; i >= 0; i--) { diff --git a/WorldPredownload/WorldPredownload.csproj b/WorldPredownload/WorldPredownload.csproj index be8ab28..8ff5a45 100644 --- a/WorldPredownload/WorldPredownload.csproj +++ b/WorldPredownload/WorldPredownload.csproj @@ -3,7 +3,7 @@ net472 true - 1.5.3.0 + 1.6.0.0 9 true annotations