From 15db138726508a622b9f798407b6fb6d15ce5a46 Mon Sep 17 00:00:00 2001 From: Lacyway <20912169+Lacyway@users.noreply.github.com> Date: Tue, 17 Dec 2024 12:59:04 +0100 Subject: [PATCH] Fix logic --- Fika.Core/UI/Custom/MatchMakerUIScript.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Fika.Core/UI/Custom/MatchMakerUIScript.cs b/Fika.Core/UI/Custom/MatchMakerUIScript.cs index 423fed1e..4b4cb246 100644 --- a/Fika.Core/UI/Custom/MatchMakerUIScript.cs +++ b/Fika.Core/UI/Custom/MatchMakerUIScript.cs @@ -136,6 +136,8 @@ protected void OnDestroy() private void CreateMatchMakerUI() { + FikaBackendUtils.IsDedicatedRequester = false; + GetDedicatedStatusResponse response = FikaRequestHandler.GetDedicatedStatus(); GameObject matchMakerUiPrefab = InternalBundleLoader.Instance.GetAssetBundle("newmatchmakerui").LoadAsset("NewMatchMakerUI"); @@ -311,7 +313,6 @@ private void CreateMatchMakerUI() else { NotificationManagerClass.DisplaySingletonWarningNotification(LocaleUtils.STARTING_RAID_ON_DEDICATED.Localized()); - FikaBackendUtils.IsDedicatedRequester = false; } } });