mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
修复不加载备份设置的错误 fix #367
This commit is contained in:
parent
6eb7253488
commit
2f91f6e00a
@ -1258,9 +1258,9 @@ namespace VPet_Simulator.Windows
|
||||
{
|
||||
Set = new Setting(this, File.ReadAllText(ExtensionValue.BaseDirectory + @$"\Setting{PrefixSave}.lps"));
|
||||
}
|
||||
else if (PrefixSave == "" && File.Exists(ExtensionValue.BaseDirectory + @"\Setting.lps"))
|
||||
else if (PrefixSave == "" && File.Exists(ExtensionValue.BaseDirectory + @"\Setting.bkp"))
|
||||
{
|
||||
Set = new Setting(this, File.ReadAllText(ExtensionValue.BaseDirectory + @"\Setting.lps"));
|
||||
Set = new Setting(this, File.ReadAllText(ExtensionValue.BaseDirectory + @"\Setting.bkp"));
|
||||
}
|
||||
else
|
||||
Set = new Setting(this, "Setting#VPET:|\n");
|
||||
|
Loading…
Reference in New Issue
Block a user