From 7b7890aa8c5067accfb3b24cb33b47cecd44bad8 Mon Sep 17 00:00:00 2001 From: Lncvrt Date: Tue, 24 Jun 2025 14:42:59 -0700 Subject: [PATCH] Add new response from the server --- Assets/Scripts/LoadingMenu.cs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Assets/Scripts/LoadingMenu.cs b/Assets/Scripts/LoadingMenu.cs index 045803c..6a9638f 100644 --- a/Assets/Scripts/LoadingMenu.cs +++ b/Assets/Scripts/LoadingMenu.cs @@ -89,6 +89,17 @@ public class LoadingMenu : MonoBehaviour await SceneManager.LoadSceneAsync("MainMenu"); } else if (response == "2") + { + text.text = "Outdated client! You can still play the game and access the servers, but it isn't recommended."; + + var updateButtonPos = updateButton.transform.localPosition; + updateButtonPos.x = -135; + updateButton.transform.localPosition = updateButtonPos; + + updateButton.gameObject.SetActive(true); + continueButton.gameObject.SetActive(true); + } + else if (response == "3") { text.text = "Outdated client! You can still load into the game, but online features may not be available.";