From 1ccced029c661eec8774e93743d4d22906788037 Mon Sep 17 00:00:00 2001 From: Jordo Date: Thu, 11 Nov 2021 10:23:17 +0100 Subject: [PATCH] Fixed incorrect set Update .gitignore --- .gitignore | 1 + EasyQuestSwitch/EQS_Localization.cs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index a137efa..8503d6e 100644 --- a/.gitignore +++ b/.gitignore @@ -69,3 +69,4 @@ crashlytics-build.properties /[Aa]ssets/[Ss]treamingAssets/aa.meta /[Aa]ssets/[Ss]treamingAssets/aa/* TODO.txt +README.md.meta diff --git a/EasyQuestSwitch/EQS_Localization.cs b/EasyQuestSwitch/EQS_Localization.cs index b46d358..60da2ad 100644 --- a/EasyQuestSwitch/EQS_Localization.cs +++ b/EasyQuestSwitch/EQS_Localization.cs @@ -21,7 +21,7 @@ public static EQS_LocalizedLanguage Current { LoadLanguages(); } - _current = SetLanguage(EditorPrefs.GetInt("EQS_Language", 0)); + SetLanguage(EditorPrefs.GetInt("EQS_Language", 0)); } return _current; }