diff --git a/Fika.Core/Coop/Patches/LocalGame/TarkovApplication_LocalGameCreator_Patch.cs b/Fika.Core/Coop/Patches/LocalGame/TarkovApplication_LocalGameCreator_Patch.cs index d0ad1540..3bdea63c 100644 --- a/Fika.Core/Coop/Patches/LocalGame/TarkovApplication_LocalGameCreator_Patch.cs +++ b/Fika.Core/Coop/Patches/LocalGame/TarkovApplication_LocalGameCreator_Patch.cs @@ -8,6 +8,7 @@ using Fika.Core.Modding; using Fika.Core.Modding.Events; using Fika.Core.Networking.Http; +using Fika.Core.UI.Custom; using HarmonyLib; using JsonType; using SPT.Reflection.Patching; @@ -131,6 +132,12 @@ public static async Task CreateFikaGame(TarkovApplication instance, TimeAndWeath instance.MatchmakerPlayerControllerClass.UpdateMatchingStatus("Creating coop game..."); } + // This gets incorrectly reset by the server, update it manually here during transit + if (isTransit && MainMenuUIScript.Exist) + { + MainMenuUIScript.Instance.UpdatePresence(UI.FikaUIGlobals.EFikaPlayerPresence.IN_RAID); + } + StartHandler startHandler = new(instance, session.Profile, session.ProfileOfPet, raidSettings.SelectedLocation); TimeSpan raidLimits = instance.method_47(raidSettings.SelectedLocation.EscapeTimeLimit);