From dfa291e293565a8fb3e470ca71b54bd06d3d5266 Mon Sep 17 00:00:00 2001 From: iAmAsval Date: Mon, 11 Jan 2021 16:39:52 +0100 Subject: [PATCH] ticket 19 --- FModel/Utils/Localizations.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FModel/Utils/Localizations.cs b/FModel/Utils/Localizations.cs index 2fc77d3e..ef703558 100644 --- a/FModel/Utils/Localizations.cs +++ b/FModel/Utils/Localizations.cs @@ -46,7 +46,7 @@ namespace FModel.Utils string mount = fileReader.MountPoint; string gameName = Folders.GetGameName(); if (Globals.Game.ActualGame == EGame.Fortnite) - m = Regex.Match(mount + KvP.Value.Name, $"{gameName}/Content/Localization/Fortnite.*?/{langCode}/Fortnite.*", RegexOptions.IgnoreCase); + m = Regex.Match(mount + KvP.Value.Name, $"{gameName}/Content/Localization/(Fortnite|RegionCN).*?/{langCode}/(Fortnite|RegionCN).*", RegexOptions.IgnoreCase); else if (Globals.Game.ActualGame == EGame.Valorant) m = Regex.Match(mount + KvP.Value.Name, $"{gameName}/Content/Localization/Game/{langCode}/Game.locres", RegexOptions.IgnoreCase); else if (Globals.Game.ActualGame == EGame.DeadByDaylight)