From 44c196351aaa445817ecdd3698f4eafa590daf30 Mon Sep 17 00:00:00 2001 From: ZouJin Date: Thu, 17 Aug 2023 04:16:42 +1000 Subject: [PATCH] =?UTF-8?q?=E8=AF=BB=E7=A9=BA=E5=AD=98=E6=A1=A3=E5=8A=A0?= =?UTF-8?q?=E8=BD=BD=E5=A4=87=E4=BB=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VPet-Simulator.Windows/MainWindow.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/VPet-Simulator.Windows/MainWindow.cs b/VPet-Simulator.Windows/MainWindow.cs index 0b2daa4..0b620a3 100644 --- a/VPet-Simulator.Windows/MainWindow.cs +++ b/VPet-Simulator.Windows/MainWindow.cs @@ -44,7 +44,7 @@ namespace VPet_Simulator.Windows /// /// 版本号 /// - public int verison { get; } = 100; + public int verison { get; } = 101; /// /// 版本号 /// @@ -442,6 +442,8 @@ namespace VPet_Simulator.Windows { if (line == null) return false; + if (string.IsNullOrWhiteSpace(line.ToString())) + return false; Core.Save = GameSave.Load(line); long hash = line.GetInt64("hash"); if (line.Remove("hash")) -- GitLab