diff --git a/CelesteTAS-EverestInterop/Source/TAS/Input/Commands/SetCommand.cs b/CelesteTAS-EverestInterop/Source/TAS/Input/Commands/SetCommand.cs index bdc33d93..0119a504 100644 --- a/CelesteTAS-EverestInterop/Source/TAS/Input/Commands/SetCommand.cs +++ b/CelesteTAS-EverestInterop/Source/TAS/Input/Commands/SetCommand.cs @@ -513,6 +513,16 @@ private static bool SettingsSpecialCases(string settingName, object value) { case "SFXVolume": typeof(MenuOptions).InvokeMethod("SetSfx", value); break; + case "Language": + string language = value.ToString(); + if (settings.Language != language && Dialog.Languages.ContainsKey(language)) { + if (settings.Language != "english") { + Fonts.Unload(Dialog.Languages[Settings.Instance.Language].FontFace); + } + settings.Language = language; + settings.ApplyLanguage(); + } + break; default: return false; }