From fff2147d097c1b111c738188f01d4cc2d5fdfaf4 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Thu, 24 Jan 2019 13:03:02 +0100 Subject: [PATCH] Fix 2 for flag selection --- Logic/Support/General.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Logic/Support/General.cs b/Logic/Support/General.cs index 251154f8..7bcf3aa6 100644 --- a/Logic/Support/General.cs +++ b/Logic/Support/General.cs @@ -88,7 +88,7 @@ namespace Swarmops.Logic.Support { return "/Images/Flags/" + nonStandardFlagNames[cultureFirstPart] + "-64px.png"; } - else if (cultureId.Contains("-Latn-") || cultureId.Contains("-Cyrl-")) // Serbian and others + else if (cultureId.Contains("-latn-") || cultureId.Contains("-cyrl-")) // Serbian and others { return "/Images/Flags/" + cultureId.Substring(cultureId.Length - 3, 2) + "-64px.png"; }