FIX for Stack overflow when set current language

More
6 years 10 months ago - 6 years 10 months ago #2270 by Frank
Hi
I'm sorry to say that version 2.6.12f2 had an issue that caused a StackOverflow when loading the game in a device that previously set the language to anything different than the default language.

This has been fixed in version 2.6.12f3 and was uploaded to the beta folder and submitted to the AssetStore.

If you can't update at the moment, you could fix the issue by changing the line
    CurrentLanguage = SaveLanguage;

in LocalizationManager.cs line 177 , by:
	SetLanguageAndCode(SavedLanguage, GetLanguageCode(SavedLanguage));


it should look like this:
			if (HasLanguage (SavedLanguage, Initialize:false))
			{
				SetLanguageAndCode(SavedLanguage, GetLanguageCode(SavedLanguage));
				return;
			}

Thanks, and sorry for this inconvenient!
Frank

Are you :-) Give I2L 5 stars!
Are you :-( Please lets us know how to improve it!
To get the betas as soon as they are ready, check this out
Last edit: 6 years 10 months ago by Frank.
The following user(s) said Thank You: jimmyt3d

Please Log in or Create an account to join the conversation.

Time to create page: 0.166 seconds
Template by JoomlaShine