Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/ClusterM/coolgirl-multirom-builder.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tools_sources/CoolgirlCombiner/Config.cs5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools_sources/CoolgirlCombiner/Config.cs b/tools_sources/CoolgirlCombiner/Config.cs
index ce59052..cb9f0a8 100644
--- a/tools_sources/CoolgirlCombiner/Config.cs
+++ b/tools_sources/CoolgirlCombiner/Config.cs
@@ -2,6 +2,7 @@
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
+using System.Linq;
namespace com.clusterrr.Famicom.CoolGirl
{
@@ -151,12 +152,14 @@ namespace com.clusterrr.Famicom.CoolGirl
i++;
break;
case "language":
- switch (value.ToLower())
+ switch (value.Split(new[] { '.' }).First().ToLower())
{
case "eng":
+ case "en_en":
config.Language = CombinerLanguage.English;
break;
case "rus":
+ case "ru_ru":
config.Language = CombinerLanguage.Russian;
break;
default: