mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
修复自动保存失效的错误
This commit is contained in:
parent
f5f3a46469
commit
1b4eb2d379
@ -174,7 +174,7 @@ namespace VPet_Simulator.Windows
|
|||||||
//Set.Statistics[(gint)"stat_time"] = (int)(DateTime.Now - timecount).TotalMinutes;
|
//Set.Statistics[(gint)"stat_time"] = (int)(DateTime.Now - timecount).TotalMinutes;
|
||||||
//timecount = DateTime.Now;
|
//timecount = DateTime.Now;
|
||||||
}
|
}
|
||||||
Set.StartRecordLastPoint = new Point(Left, Top);
|
Set.StartRecordLastPoint = new Point(Dispatcher.Invoke(() => Left), Dispatcher.Invoke(() => Top));
|
||||||
File.WriteAllText(ExtensionValue.BaseDirectory + @"\Setting.lps", Set.ToString());
|
File.WriteAllText(ExtensionValue.BaseDirectory + @"\Setting.lps", Set.ToString());
|
||||||
|
|
||||||
if (!Directory.Exists(ExtensionValue.BaseDirectory + @"\BackUP"))
|
if (!Directory.Exists(ExtensionValue.BaseDirectory + @"\BackUP"))
|
||||||
|
Loading…
Reference in New Issue
Block a user