From aecd1460da784f90c5400443db3acb1e3aa1a1d4 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Sat, 2 Mar 2019 21:40:31 +0100 Subject: [PATCH] Add support for special-case TW flag --- Logic/Support/General.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Logic/Support/General.cs b/Logic/Support/General.cs index 54e9f57c..549a6d0a 100644 --- a/Logic/Support/General.cs +++ b/Logic/Support/General.cs @@ -89,6 +89,10 @@ namespace Swarmops.Logic.Support { return "/Images/Flags/txl-64px.png"; } + else if (cultureId == "zh-tw") // Taiwan breaks all the rules: speaks Chinese but has its own flag + { + return "/Images/Flags/tw-64px.png"; + } else if (nonStandardFlagNames.ContainsKey(cultureFirstPart)) { return "/Images/Flags/" + nonStandardFlagNames[cultureFirstPart] + "-64px.png";