From 0e6d490b38dd4641e968076ec5e744913efd8408 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Thu, 24 Jan 2019 17:10:23 +0100 Subject: [PATCH] Fix 3 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 7bcf3aa6..700487c2 100644 --- a/Logic/Support/General.cs +++ b/Logic/Support/General.cs @@ -90,7 +90,7 @@ namespace Swarmops.Logic.Support } else if (cultureId.Contains("-latn-") || cultureId.Contains("-cyrl-")) // Serbian and others { - return "/Images/Flags/" + cultureId.Substring(cultureId.Length - 3, 2) + "-64px.png"; + return "/Images/Flags/" + cultureId.Substring(cultureId.Length - 2, 2) + "-64px.png"; } else {