diff options
| author | lempamo <[email protected]> | 2017-04-06 10:17:19 -0400 |
|---|---|---|
| committer | lempamo <[email protected]> | 2017-04-06 10:17:19 -0400 |
| commit | 9a8949cffcd454f6297923c7001cfb036604e02f (patch) | |
| tree | f974f5cb6d1cf892ac97a7381a536eac629aebd6 /ShiftOS_TheReturn/Localization.cs | |
| parent | 07376e9ecd6687b2c4278661d0eaf3795d5124c3 (diff) | |
| download | shiftos_thereturn-9a8949cffcd454f6297923c7001cfb036604e02f.tar.gz shiftos_thereturn-9a8949cffcd454f6297923c7001cfb036604e02f.tar.bz2 shiftos_thereturn-9a8949cffcd454f6297923c7001cfb036604e02f.zip | |
language changing actually works
Diffstat (limited to 'ShiftOS_TheReturn/Localization.cs')
| -rw-r--r-- | ShiftOS_TheReturn/Localization.cs | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ShiftOS_TheReturn/Localization.cs b/ShiftOS_TheReturn/Localization.cs index a9d24b8..c1a6bd6 100644 --- a/ShiftOS_TheReturn/Localization.cs +++ b/ShiftOS_TheReturn/Localization.cs @@ -67,6 +67,12 @@ namespace ShiftOS.Engine var path = "english.local"; Utils.WriteAllText(Paths.GetPath(path), lines); } + else if (SaveSystem.CurrentSave == null) + { + var lines = Properties.Resources.strings_en; + var path = "english.local"; + Utils.WriteAllText(Paths.GetPath(path), lines); + } else { _provider.WriteTranscript(); |
