summaryrefslogtreecommitdiff
path: root/Thronefall_v1.0/Decompile/SettingsLanguageReset.cs
blob: 776d9be50b889d2b762802f9a153946fecf8189c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
using I2.Loc;
using UnityEngine;

public class SettingsLanguageReset : MonoBehaviour
{
	public GameObject objToRefresh;

	public void ResetLanguage()
	{
		LocalizationManager.CurrentLanguage = LocalizationManager.GetCurrentDeviceLanguage();
		objToRefresh.SetActive(value: false);
		objToRefresh.SetActive(value: true);
	}
}