Skip to content

Commit

Permalink
Merge pull request #59 from hmlendea/ck3-v1_2
Browse files Browse the repository at this point in the history
Support all pre-1.4 CK3 versions
  • Loading branch information
hmlendea authored Jun 14, 2022
2 parents ad9c079 + b60c602 commit 7e72e66
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7e72e66

Please sign in to comment.