From 9b4edba30d624ac037c6f47012032d51394a2a45 Mon Sep 17 00:00:00 2001 From: Juan Molteni Date: Mon, 8 Jan 2024 15:32:48 -0300 Subject: [PATCH] Setting realm on signup flow --- .../LoadingScreen/Scripts/LoadingScreenController.cs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/LoadingScreen/Scripts/LoadingScreenController.cs b/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/LoadingScreen/Scripts/LoadingScreenController.cs index 548f7298a2..87fc645e68 100644 --- a/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/LoadingScreen/Scripts/LoadingScreenController.cs +++ b/unity-renderer/Assets/Scripts/MainScripts/DCL/Controllers/LoadingScreen/Scripts/LoadingScreenController.cs @@ -105,6 +105,12 @@ private void OnSignupFlow(bool current, bool previous) { onSignUpFlow = current; + if (realmDataStore.playerRealmAboutConfiguration.Get() != null) + { + currentRealm = realmDataStore.playerRealmAboutConfiguration.Get().RealmName; + currentRealmIsWorld = commonDataStore.isWorld.Get(); + } + if (current) FadeOutView(); else