Skip to content

Commit

Permalink
Update Localization when Saving (#1501)
Browse files Browse the repository at this point in the history
  • Loading branch information
koosemose authored and mikejbrown committed Oct 5, 2016
1 parent a6cf827 commit 7d6e7b6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Assets/Scripts/Localization/LocalizationTable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ public static void SetLocalization(int lang)
string[] languages = GetLanguages();
currentLanguage = languages[lang];
Settings.SetSetting("localization", languages[lang]);
LocalizationLoader loader = GameObject.Find("Controllers").GetComponent(typeof(LocalizationLoader)) as LocalizationLoader;
loader.UpdateLocalizationTable();
}

public static void LoadingLanguagesFinished()
Expand Down

0 comments on commit 7d6e7b6

Please sign in to comment.