From b60c602cbec145e14cc9cfe41ac446e35a27884a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hora=C8=9Biu=20Mlendea?= Date: Tue, 14 Jun 2022 20:49:06 +0300 Subject: [PATCH] Support all pre-1.4 CK3 versions --- .../Service/ModBuilders/ModBuilderFactory.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MoreCulturalNamesBuilder/Service/ModBuilders/ModBuilderFactory.cs b/MoreCulturalNamesBuilder/Service/ModBuilders/ModBuilderFactory.cs index 9d03fd1..b57db53 100644 --- a/MoreCulturalNamesBuilder/Service/ModBuilders/ModBuilderFactory.cs +++ b/MoreCulturalNamesBuilder/Service/ModBuilders/ModBuilderFactory.cs @@ -46,7 +46,7 @@ public IModBuilder GetModBuilder(Settings settings) if (normalisedGame.StartsWith("CK3")) { - if (settings.Mod.GameVersion.StartsWith("1.4")) + if (string.Compare(settings.Mod.GameVersion.Substring(0, 3), "1.4") <= 0) { return new CK3v14ModBuilder( localisationFetcher,