Fix 3 for flag selection

This commit is contained in:
Rick Falkvinge
2019-01-24 17:10:23 +01:00
parent 457c1e2633
commit 0e6d490b38
+1 -1
View File
@@ -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
{