From d39fb4b2db937ed7c12db09daefd6826f27dbec2 Mon Sep 17 00:00:00 2001 From: uye <99072975+ABA2396@users.noreply.github.com> Date: Wed, 3 Apr 2024 00:30:11 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=8F=89=E6=8E=89=E4=B8=8D=E8=A7=A6?= =?UTF-8?q?=E5=8F=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/MaaWpfGui/Main/AsstProxy.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/MaaWpfGui/Main/AsstProxy.cs b/src/MaaWpfGui/Main/AsstProxy.cs index c8722a7a64..b19e58af1f 100644 --- a/src/MaaWpfGui/Main/AsstProxy.cs +++ b/src/MaaWpfGui/Main/AsstProxy.cs @@ -715,6 +715,7 @@ namespace MaaWpfGui.Main if (buyWine) { + Instances.SettingsViewModel.LastBuyWineTime = DateTime.UtcNow.ToYjDate().ToFormattedString(); var result = MessageBoxHelper.Show( LocalizationHelper.GetString("DrunkAndStaggering"), LocalizationHelper.GetString("Burping"), @@ -723,7 +724,6 @@ namespace MaaWpfGui.Main if (result == MessageBoxResult.OK) { Instances.SettingsViewModel.Cheers = true; - Instances.SettingsViewModel.LastBuyWineTime = DateTime.UtcNow.ToYjDate().ToFormattedString(); Bootstrapper.ShutdownAndRestartWithoutArgs(); } }