From 726d26fce3527c95f422bd738bc1983a8e827dc3 Mon Sep 17 00:00:00 2001 From: GMatrixGames Date: Thu, 16 Jul 2020 14:12:43 -0400 Subject: [PATCH] Fix missing localization for SOD2 --- FModel/Utils/Localizations.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/FModel/Utils/Localizations.cs b/FModel/Utils/Localizations.cs index 26601ee5..55fb70e1 100644 --- a/FModel/Utils/Localizations.cs +++ b/FModel/Utils/Localizations.cs @@ -57,6 +57,8 @@ namespace FModel.Utils m = Regex.Match(mount + KvP.Value.Name, $"{gameName}/Content/Localization/Game/{langCode}/Game.locres", RegexOptions.IgnoreCase); else if (Globals.Game.ActualGame == EGame.Spellbreak) m = Regex.Match(mount + KvP.Value.Name, $"{gameName}/Content/Localization/Game/{langCode}/Game.locres", RegexOptions.IgnoreCase); + else if (Globals.Game.ActualGame == EGame.StateOfDecay2) + m = Regex.Match(mount + KvP.Value.Name, $"{gameName}/Content/Localization/Game/{langCode}/Game.locres", RegexOptions.IgnoreCase); else if (Globals.Game.ActualGame == EGame.TheCycleEA) m = Regex.Match(mount + KvP.Value.Name, $"{gameName}/Content/Localization/ProspectGame/{langCode}/ProspectGame.locres", RegexOptions.IgnoreCase);